Link:http://output.to/sideway/default.asp?qno=110700279 VOL MS DOS Command: VOLReference from Microsoft MS-DOS cmd help DescriptionDisplays the disk volume label and serial number, if the disk has them. SyntaxVOL [drive:] Parameters
Related CommandsFor information about assigning a volume label, see the FORMAT and LABEL commands. RemarksTo cause MS-DOS to display the volume label of the disk in the current drive, you can use the VOL command with no parameter. Link:http://output.to/sideway/default.asp?qno=110700267 SYS MS DOS Command: SYS.COMReference from Microsoft MS-DOS cmd help DescriptionCreates a startup disk by copying hidden MS-DOS system files (IO.SYS and MSDOS.SYS), the MS-DOS command interpreter (COMMAND.COM), and the part of MS-DOS that provides access to compressed drives (DRVSPACE.BIN) to the disk. (SYS copies DRVSPACE.BIN only if the DRVSPACE.BIN file exists in the root directory of the source drive or directory.) IO.SYS, MSDOS.SYS and DRVSPACE.BIN are hidden files and do not typically appear when you type the DIR command. To see these files, type DIR /A. SyntaxSYS [drive1:][path] drive2: Parameters
Related CommandsFor information about copying files, see the COPY and XCOPY commands. RemarksHow the SYS command copies files The SYS command copies the files in the following order: IO.SYS, MSDOS.SYS, COMMAND.COM and DRVSPACE.BIN. No requirement for contiguous files MS-DOS no longer requires the two system files to be contiguous. This means that when you want to copy a new version of MS-DOS to a disk containing system files for MS-DOS version 3.3 or earlier, you need not reformat the disk. Using the SYS command on compressed drives The SYS command does not work on compressed drives. If drive C is compressed and you need to make your hard disk bootable, use the SYS command on drive C's host drive. (If you are using DriveSpace, to find out which is drive C's host drive, type DRVSPACE /INFO C: at the command prompt.) Using the SYS command on assigned drives and network drives The SYS command does not work on drives that have been redirected by using the ASSIGN, JOIN, or SUBST command. SYS also does not work on network drives or drives redirected using INTERLNK. ExamplesTo copy the MS-DOS system files and command interpreter from the disk in the current drive to a disk in drive A, type the following command: sys a: To copy the MS-DOS system files and command interpreter from a disk in drive B to a disk in drive A, type the following the command: sys b: a: Link:http://output.to/sideway/default.asp?qno=110700269 TIME MS DOS Command: TIMEReference from Microsoft MS-DOS cmd help DescriptionDisplays the system time or sets your computer's internal clock. MS-DOS uses time information to update the directory whenever you create or change a file. SyntaxTIME [hours:[minutes[:seconds[.hundredths]]][A|P]] To display the current time or to display a prompt by which you can change the current time, use the following syntax: TIME Parameters
Related CommandsFor information about changing the current date, see the DATE command. For information about changing the time format, see the COUNTRY command. RemarksSpecifying an invalid TIME format If you specify the time in an invalid format, MS-DOS displays the following message and then waits for you to specify the time: Invalid time Enter new time:_ Changing the TIME format You can change the TIME format by changing the COUNTRY setting in your CONFIG.SYS file. For more information, see the COUNTRY command. Depending on the country code, MS-DOS will display the time in the 12-hour format or the 24-hour format. If you are setting the time in the 12-hour format, be sure to specify P for hours after noon. Ensuring that MS-DOS prompts you for the time If you want MS-DOS to prompt you for the current time whenever you start your system, you can add the TIME command to your AUTOEXEC.BAT file. MS-DOS will automatically prompt you for the time and date if you do not have an AUTOEXEC.BAT file. ExamplesTo set your computer's clock to 1:36 P.M., use either of the following commands: TIME 13:36 TIME 1:36p |
Sideway BICK Blog 30/07 |