Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=110700279

VOL

MS DOS Command: VOL

Reference from Microsoft MS-DOS cmd help

Description

Displays the disk volume label and serial number, if the disk has them.

Syntax

VOL [drive:]

Parameters

drive: Specifies the drive that contains the disk for which you want to display the volume label and serial number.

Related Commands

For information about assigning a volume label, see the FORMAT and LABEL commands.

Remarks

To 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.COM

Reference from Microsoft MS-DOS cmd help

Description

Creates 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.

Syntax

SYS [drive1:][path] drive2:

Parameters

[drive1:][path] Specifies the location of the system files. If you do not specify a path, MS-DOS searches the root directory on the current drive for the system files.
drive2: Specifies the drive to which you want to copy the system files. These files can be copied only to a root directory, not to a subdirectory.

Related Commands

For information about copying files, see the COPY and XCOPY commands.

Remarks

How 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.

Examples

To 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: TIME

Reference from Microsoft MS-DOS cmd help

Description

Displays 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.

Syntax

TIME [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

hours Specifies the hour. Valid values are in the range 0 through 23.
minutes Specifies minutes. Valid values are in the range 0 through 59.
seconds Specifies seconds. Valid values are in the range 0 through 59.
hundredths Specifies hundredths of a second. Valid values are in the range 0 through 99.
A|P Specifies A.M or P.M. for the 12-hour time format. If you type a valid 12-hour time but do not type A or P, TIME uses A (for A.M.).

Related Commands

For information about changing the current date, see the DATE command.

For information about changing the time format, see the COUNTRY command.

Remarks

Specifying 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.

Examples

To set your computer's clock to 1:36 P.M., use either of the following commands:

TIME 13:36

TIME 1:36p

Previous Month  JUL  2011  Next Month
SMTWTFS
12
3456789
10111213141516
17181920212223
24252627282930
31

Previous Month  AUG  2015  Next Month
SMTWTFS
1
2345678
9101112131415
16171819202122
23242526272829
3031

Sideway BICK Blog

30/07


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013