You are on page 1of 17


AccDate Ansi.Sys Download : An alternative to ansi.sys. For those who need it with Windows ME. ANSI Code values. Defines functions that change display graphics, control cursor movement, and reassign keys. (12/17/2000) Displays or changes file attributes ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [ [drive:] [path] filename] ] [/S]

+ R A S H /S

Sets an attribute. Clears an attribute. Read-only file attribute. Archive file attribute. System file attribute. Hidden file attribute. Processes files in all directories in the specified path.

Attrib Sets or clears extended CTRL+C checking. BREAK [ON | OFF]

Type BREAK without a parameter to display the current BREAK setting.

Break Buffers DOS Command Buffers Calls one batch program from another. CALL [drive:][path]filename [batch-parameters]

batch-parameters Specifies any command-line information required by the batch program.

Call Displays the name of or changes the current directory CHDIR [drive:] [path] CHDIR[..] CD [drive:] [path] CD[..]


Specifies that you want to change to the parent directory.

Type CD drive: to display the current directory in the specified drive. Type CD without parameters to display the current drive and directory.
CD/ChDir Displays or sets the active code page number CHCP [nnn]


Specifies a code page number.

Type CHCP without a parameter to display the active code page number.

CHCP CHKDSK [drive:] [ [path] filename] [/F] [/V]

[drive:][path] filename /F /V disk.

Specifies the drive and directory to check. Specifies the file(s) to check for fragmentation. Fixes errors on the disk. Displays the full path and name of every file on the

Type CHKDSK without parameters to check the current disk. Instead of using CHKDSK, try using SCANDISK. SCANDISK can reliably detect and fix a much wider range of disk problems.
CHKDSK How to Run the CHKDSK /F Command on a Shared Cluster Disk (NT4/W2000 9/23/2003) Description of Enhanced Chkdsk Tools in Windows 2000 (5/14/2003) Waits for the user to choose one of a set of choices. CHOICE [/C[:]choices] [/N] [/S] [/T[:]c,nn] [text]

/C[:]choices /N /S /T[:]c,nn text

Specifies allowable keys. Default is YN Do not display choices and ? at end of prompt string. Treat choice keys as case sensitive. Default choice to c after nn seconds Prompt string to display

ERRORLEVEL is set to offset of key user presses in choices.

CHOICE Clears the screen CLS Starts a new copy of the Windows Command Interpreter. COMMAND [ [drive:] path] [device] [/E:nnnnn] [/L:nnnn] [/U:nnn] [/P] [/MSG] [/LOW] [/Y [/ [C|K] command] ]

[drive:]path device output. /E:nnnnn /L:nnnn well). /U:nnn well). /P exit). /MSG well). /LOW /Y /C command

Specifies the directory containing COMMAND.COM. Specifies the device to use for command input and Sets the initial environment size to nnnnn bytes. (nnnnn should be between 256 and 32,768). Specifies internal buffers length (requires /P as (nnnn should be between 128 and 1,024). Specifies the input buffer length (requires /P as (nnn should be between 128 and 255). Makes the new Command Interpreter permanent (can't Stores all error messages in memory (requires /P as Forces COMMAND to keep its resident data in low memory. Steps through the batch program specified by /C or /K. Executes the specified command and returns.

/K command

Executes the specified command and continues running.

Command HIDDEN PARAMETERS CONFIG.SYS Config.sys (Command) The Windows 98 Config.txt File. Find out how to call the various commands. (W98 11/21/2000) Understanding the Settings in the Windows ME Config.sys File (ME 10/22/2002) Copies one or more files to another location. COPY [/A | /B] source [/A | /B] [+ source [/A | /B] [+ ...] ] [destination [/A | /B] ] [/V] [/Y | /-Y]

source /A /B destination file(s). /V /Y /-Y

Specifies Indicates Indicates Specifies

the file or files to be copied. an ASCII text file. a binary file. the directory and/or filename for the new

Verifies that new files are written correctly. Suppresses prompting to confirm you want to overwrite an existing destination file. Causes prompting to confirm you want to overwrite an existing destination file.

The switch /Y may be preset in the COPYCMD environment variable. This may be overridden with /-Y on the command line To append files, specify a single file for destination, but multiple files for source (using wildcards or file1+file2+file3 format).
Copy Changes the terminal device used to control your system. CTTY device


The terminal device you want to use, such as COM1.

CTTY COUNTRY DOS Command COUNTRY "" Displays or sets the date. DATE [date]

Type DATE without parameters to display the current date setting and a prompt for a new one. Press ENTER to keep the same date.
DATE DBLSPACE DOS Command DBLSPACE.SYS Runs Debug, a program testing and editing tool DEBUG [[drive:][path]filename [testfile-parameters]]

[drive:][path]filename testfile-parameters

Specifies the file you want to test. Specifies command-line information required by the file you want to test.

After Debug starts, type ? to display a list of debugging commands.

Debug Deletes one or more files DEL [drive:] [path] filename [/P] ERASE [drive:] [path] filename [/P]

[drive:] [path] filename Specifies the file(s) to delete. Specify multiple files by using wildcards. /P Prompts for confirmation before deleting each file.
DEL Deletes a directory and all the sub-directories and all files in it To delete one or more files and directories: DELTREE [/Y] [drive:] path [ [drive:] path [...] ]

Y/ Suppresses prompting to confirm you want to delete the subdirectory. [drive:]path Specifies the name of the directory you want to delete. Use DELTREE cautiously. Every file and sub-directory within the specified directory will be deleted.
DELTREE Command Does Not Remove DIR000 Directory The MS-DOS DELTREE command does not remove directories named DIR000 where x is an integer number. For example, the DELTREE command does not remove a directory called DIR0001. (11/21/1999) DelTree DEVICE DOS Command DEVICE Displays a list of files and sub-directories in a directory DIR [drive:] [path] [filename] [/P] [/W] [/A[ [:] attributes] ] [/O [ [:]sortorder] ] [/S] [/B] [/L] [/V]

[drive:][path][filename] Specifies drive, directory, and/or files to list. (Could be enhanced file specification or multiple filespecs.) /P Pauses after each screenful of information. /W Uses wide list format. /A Displays files with specified attributes. attributes D Directories R Read-only files H Hidden files A Files ready for archiving S System files - Prefix meaning not /O List by files in sorted order. sortorder N By name (alphabetic) S By size (smallest first) E By extension (alphabetic) D By date & time (earliest first) G Group directories first - Prefix to reverse order A By Last Access Date (earliest first) /S Displays files in specified directory and all subdirectories. /B Uses bare format (no heading information or summary). /L Uses lower case. /V Verbose mode. Switches may be preset in the DIRCMD environment variable. Override

preset switches by pre-fixing any switch with - (hyphen) for example, /-W.
Additional information : DIR Computer Hangs When Using the DIR Command in DFS Shared Folders When you use the DIR command from a command prompt on a Windows 95 Distributed File System (DFS) client to view the contents of a DFS shared network folder on a Windows NT server, your computer may stop responding (hang). (W95/NT4 5/14/2003) Copies the contents of one floppy disk to another DISKCOPY [drive1: [drive2:] ] [/1] [/V] [/M]

/1 /V /M

Copies only the first side of the disk. Verifies that the information is copied correctly. Force multi-pass copy using memory only.

The two floppy disks must be the same type. You may specify the same drive for drive1 and drive2.
Additional information : DiskCopy DISPLAY.SYS DOS Command DISPLAY.SYS DOS =[high|low] [,umb|,noumb] [,auto|,noauto] DOS Edits command lines, recalls command lines, and creates macros. DOSKEY [/switch ...] [macroname=[text] ]

/BUFSIZE:size (default:512) /ECHO:on|off (default:on) /FILE:file /HISTORY /INSERT /KEYSIZE:size (default:15) /LINE:size (default:128) /MACROS /OVERSTRIKE (default) /REINSTALL macroname text UP,DOWN Esc F7 Alt+F7 [chars]F8 F9 Alt+F10

Sets size of macro and command buffer Enables/disables echo of macro expansions Specifies file containing a list of macros Displays all commands stored in memory Inserts new characters into line when typing Sets size of keyboard type-ahead buffer Sets maximum size of line edit buffer Displays all DOSKey macros Overwrites new characters onto line when typing Installs a new copy of DOSKey Specifies a name for a macro you create Specifies commands you want to assign to the macro

arrows recall commands clears current command displays command history clears command history searches for command beginning with [chars] selects a command by number clears macro definitions

The following are special codes you can use in DOSKey macro definitions: $T Command separator: allows multiple commands in a macro $1-$9 Batch parameters: equivalent to %1-%9 in batch programs $* Symbol replaced by everything following macro name on the

command line
Doskey The /INSERT Option for Doskey Is Turned On by Default Doskey is a command-line utility for recalling MS-DOS commands, editing command lines, and creating macros. In Windows (Me), Doskey is loaded by default when you start a command session (or window). (ME 8/7/2002) DRIVPARM DOS Command DRIVPARM DRVSPACE.SYS DOS Command DRVSPACE.SYS Displays messages, or turns command-echoing on or off ECHO [ON | OFF] ECHO [message]

Type ECHO without parameters to display the current echo setting.

ECHO MS-DOS Editor Version 2.0.026. EDIT [/B] [/H] [/R] [/S] [/] [/?] [file(s) ]

/B /H hardware. /R /S / - Load /? [file] -

Forces monochrome mode. Displays the maximum number of lines possible for your Load file(s) in read-only mode. Forces the use of short filenames. binary file(s), wrapping lines to characters wide. Displays this help screen. Specifies initial files(s) to load. Wildcards and multiple filespecs can be given.

EDIT Turns on or off EMM386 expanded memory support EMM386 [ON | OFF | AUTO] [W=ON | W=OFF]


Activates or suspends EMM386.EXE device driver, or places it in auto mode. Turns on or off Weitek co-processor support.

Emm386.exe EMM386 Troubleshooting and Technical Information (W95/98 5/12/2003) Emm386.exe No Longer Loads After Installing Window 98 (W98 2/6/1999) Problems with Expanded Memory on Dell Inspiron 7000 Computers When you try to start an MS-DOS-based program on your Dell Inspiron 7000-series computer, you may receive one of the following error messages: Cannot Setup EMS Buffer. EMM386 Not Installed - Unable to set page frame base address (W98 11/21/2000) Sound Blaster Live! Error Message After Installing Windows After you install Windows, you may receive the following error message: Error: Memory Manager not detected. SB Live! requires EMM386 or similar. (W95/98/se 8/6/2002) HIDDEN PARAMETERS Deletes one or more files

DEL [drive:] [path] filename [/P] ERASE [drive:] [path] filename [/P]

[drive:] [path]filename multiple /P

Specifies the file(s) to delete.


files by using wildcards. Prompts for confirmation before deleting each file.

ERASE Quits the COMMAND.COM program (command interpreter) EXIT Microsoft (R) Diamond Extraction Tool - Version (16) 1.00.0530 EXTRACT [/Y] [/A] [/D | /E] [/L dir] cabinet [filename ...] EXTRACT [/Y] source [newname] EXTRACT [/Y] /C source destination

cabinet - Cabinet file (contains two or more files). filename - Name of the file to extract from the cabinet. Wild cards and multiple filenames (separated by blanks) may be used. source newname /A /C /D extract). /E /L dir directory). /Y - Compressed file (a cabinet with only one file). - New filename to give the extracted file. If not supplied, the original name is used. Process ALL cabinets. Follows cabinet chain starting in first cabinet mentioned. Copy source file to destination (to copy from DMF disks). Display cabinet directory (use with filename to avoid Extract (use instead of *.* to extract all files). Location to place extracted files (default is current Do not prompt before overwriting an existing file.

EXTRACT How to Extract Original Compressed Windows Files This article describes how to extract individual files from compressed cabinet files. (W95/98/se/ME 5/27/2003) How to Extract and Replace a Protected File in Windows Me This article describes how to use the System Configuration Utility tool in Microsoft Windows ME to extract a file that is protected by the System File Protection feature. (ME 7/6/2001) Compares two files or sets of files and displays the differences between them. FC [/A] [/C] [/L] [/LBn] [/N] [/T] [/W] [/nnnn] [drive1:] [path1] filename1 [drive2:] [path2] filename2 FC /B [drive1:][path1]filename1 [drive2:][path2]filename2

/A Displays only first and last lines for each set of differences. /B Performs a binary comparison. /C Disregards the case of letters. /L Compares files as ASCII text. /LBn Sets the maximum consecutive mismatches to the specified number of lines. /N Displays the line numbers on an ASCII comparison. /T Does not expand tabs to spaces.

/W Compresses white space (tabs and spaces) for comparison. /nnnn Specifies the number of consecutive lines that must match after a mismatch.
FC FCBS DOS Command FCBS Configures a hard disk for use with MS-DOS FDISK [/STATUS] /X


Displays partition information. Ignores extended disk-access support. Use this switch if you receive disk access or stack overflow messages.

FDISK Undocumented FDISK switches FDISK /MBR Rewrites the Master Boot Record Fdisk has an undocumented parameter called /MBR that causes it to write the master boot record to the hard disk without altering the partition table information. (W95/98/ME 5/28/2003) Fdisk.exe Limits Non-MS-DOS Partition End to 8 GB This behavior occurs because Fdisk.exe does not use Logical Block Addressing (LBA) when computing partition table information for unknown partition types. (W95/98/se 10/16/2002) FDISK May Not Work When IDE Controller Is Re-balanced If you are using a docking station that contains a PCI IDE controller and hard disk, you may not be able to run the FDISK utility to view or modify hard disk partition information. (W98se 10/16/2002) How to Use Fdisk Tool and the Format Tool to Partition or Re-partition a Hard Disk (W95/98/se/ME 5/12/2003) Fdisk Does Not Recognize Full Size of Hard Disks Larger than 64 GB (W95/98/se 4/22/2003) HIDDEN PARAMETERS FILES DOS Command FILES How to Increase Available File Handles for MS-DOS-Based Applications in Windows ME Instead of the FILES setting, the PerVMFiles setting is used. This setting increases the number of available file handles in each MS-DOS virtual machine (VM) and is implemented by adding the following line to the [386Enh] section of the System.ini file. (ME 8/6/2002) 16-Bit Programs Cannot Open More Than 120 Files Simultaneously in Windows Me A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article and should be applied only to systems experiencing this specific problem. (ME 10/16/2002) Searches for a text string in a file or files FIND [/V] [/C] [/N] [/I] "string" [ [drive:] [path] filename [ ...] ]

/V /C /N /I

Displays all lines NOT containing the specified string. Displays only the count of lines containing the string. Displays line numbers with the displayed lines. Ignores the case of characters when searching for the string.

"string" Specifies the text string to find. [drive:][path]filename Specifies a file or files to search. If a path name is not specified, FIND searches the text typed at the prompt or piped from another command.
FIND FOR %variable IN (set) DO command [command-parameters]

%variable Specifies a replaceable parameter. (set) Specifies a set of one or more files. Wildcards may be used. command Specifies the command to carry out for each file. command-parameters Specifies parameters or switches for the specified command. To use the FOR command in a batch program, specify %%variable instead of %variable.
FOR Formats a disk for use with MS-DOS FORMAT drive: [/V [:label] ] [/Q] [/F:size] [/B | /S] [/C] FORMAT drive: [/V [:label] ] [/Q] [/T:tracks /N:sectors] [/B | /S] [/C] FORMAT drive: [/V [:label] ] [/Q] [/1] [/4] [/B | /S] [/C] FORMAT drive: [/Q] [/1] [/4] [/8] [/B | /S] [/C]

/V[:label] /Q /F:size /B /S /T:tracks /N:sectors /1 /4 drive. /8 /C

Specifies the volume label. Performs a quick format. Specifies the size of the floppy disk to format (such as 160, 180, 320, 360, 720, 1.2, 1.44, 2.88). Allocates space on the formatted disk for system files. Copies system files to the formatted disk. Specifies the number of tracks per disk side. Specifies the number of sectors per track. Formats a single side of a floppy disk. Formats a 5.25-inch 360K floppy disk in a high-density Formats eight sectors per track. Tests clusters that are currently marked "bad."

Format Err Msg: Invalid Media or Track 0 Bad - Disk Unusable Invalid media or Track 0 bad - disk unusable. Format terminated. (W95/98 12/17/2000) "FORMAT /S" Command Is Not Supported in Windows Millennium Edition (ME 8/7/2002) HOW TO: Partition and Format a Hard Disk in Windows XP (XP 11/5/2003) HIDDEN PARAMETERS Directs Windows to a labeled line in a batch program GOTO label

label Specifies a text string used in the batch program as a label. You type a label on a line by itself, beginning with a colon.

HIMEM.SYS HIDDEN PARAMETERS Performs conditional processing in batch programs IF [NOT] ERRORLEVEL number command IF [NOT] string1==string2 command IF [NOT] EXIST filename command

NOT only

Specifies that Windows should carry out the command

if the condition is false. ERRORLEVEL number Specifies a true condition if the last program run returned an exit code equal to or greater than the number specified. command Specifies the command to carry out if the condition is met. string1==string2 Specifies a true condition if the specified text strings match. EXIST filename Specifies a true condition if the specified filename exists.
IF INSTALL DOS Command INSTALL Configures a keyboard for a specific language KEYB [xx [,[yyy] [,[drive:] [path] filename] ] ] [/E] [/ID:nnn]

xx yyy [drive:][path]filename /E installed. /ID:nnn

Specifies Specifies Specifies Specifies

a two-letter keyboard code. the code page for the character set. the keyboard definition file. that an enhanced keyboard is

Specifies the keyboard in use.

Keyboard Command Does Not Work in Command Prompt The Windows Millennium command prompt does not support the keyb command. (ME 8/7/2002) Creates, changes, or deletes the volume label of a disk LABEL [drive:][label] Label LASTDRIVE DOS Command LASTDRIVE Loads a program into the upper memory area LH or LOADHIGH [drive:] [path] filename [parameters] LH or LOADHIGH [/L:region1 [,minsize1] [;region2 [,minsize2]...] [/S] ] [drive:][path]filename [parameters]

/L:region1[,minsize1][;region2[,minsize2]]... Specifies the region(s) of memory into which to load the program. Region1 specifies the number of the first memory region; minsize1 specifies the minimum size, if any, for region1. Region2 and minsize2 specify the number and minimum size of the second region, if any.

You can specify as many regions as you want. /S Shrinks a UMB to its minimum size while the program is loading. [drive:] [path] filename Specifies the location and name of the program.
LOCK DOS Command LOCK Creates a directory MKDIR [drive:]path MD [drive:]path MD Displays the amount of used and free memory in your system MEM [/CLASSIFY | /DEBUG | /FREE | /MODULE modulename] [/PAGE]

/CLASSIFY or /C lists /DEBUG or /D drivers, /FREE or /F left /MODULE or /M /PAGE or /P

Classifies programs by memory usage. Lists the size of programs, provides a summary of memory in use, and largest memory block available. Displays status of all modules in memory, internal and other information. Displays information about the amount of free memory in both conventional and upper memory. Displays a detailed listing of a module's memory use. This option must be followed by the name of a module, optionally separated from /M by a colon. Pauses after each screenful of information.

MEM MEM Command Reports Only 64 MB Extended Memory in MS-DOS Window (W95/98/se 7/28/2001) HIDDEN PARAMETERS MODE Configures system devices

Printer port: MODE LPTn[:] [COLS=c] [LINES=l] [RETRY=r] Serial port: MODE COMm[:] [BAUD=b] [PARITY=p] [DATA=d] [STOP=s] [RETRY=r] Device Status: MODE [device] [/STATUS] Redirect printing:MODE LPTn[:]=COMm[:] Prepare code page:MODE device CP PREPARE=((yyy[...]) [drive:] [path]filename) Select code page: MODE device CP SELECT=yyy Refresh code page:MODE device CP REFRESH Code page status: MODE device CP [/STATUS] Display mode: MODE [display-adapter][,n] MODE CON[:] [COLS=c] [LINES=n] Typematic rate: MODE CON[:] [RATE=r DELAY=d]
Mode Codepage Support Setup Information (5/12/2003) Displays output one screen at a time

MORE [drive:] [path] filename MORE [drive:] [path] filename command-name | MORE [drive:] [path] [filename]

[drive:][path]filename time command-name displayed.

Specifies file(s) to display one screen at a Specifies a command whose output will be

More Moves files and renames files and directories

To move one or more files: MOVE [/Y | /-Y] [drive:] [path] filename1 [,...] destination To rename a directory: MOVE [/Y | /-Y] [drive:] [path] dirname1 dirname2 [drive:] [path] filename1 Specifies the location and name of the file or files you want to move. destination Specifies the new location of the file. Destination can consist of a drive letter and colon, a directory name, or a combination. If you are moving only one file, you can also include a filename if you want to rename the file when you move it. [drive:] [path] dirname1 Specifies the directory you want to rename. dirname2 Specifies the new name of the directory. /Y /-Y Suppresses prompting to confirm creation of a directory or overwriting of the destination. Causes prompting to confirm creation of a directory or overwriting of the destination.

The switch /Y may be present in the COPYCMD environment variable. This may be overridden with /-Y on the command line.
Move MSCDEXLoads CD ROM Drivers usage: MSCDEX [/E/K/S/V] [/D: ... ] [/L:] [/M:] Mscdex Command-Line Switches for MSCDEX.EXE (W95/98/ME 5/28/2003) Loads country-specific information NLSFUNC [[drive:][path]filename]

[drive:] [path] filename Specifies the file containing country-specific information.

NlsFunc NUMLOCK DOS Command Additional information : NUMLOCK NUM LOCK Not Synchronized When Using ALT+TAB in Terminal Server Client

The NUM LOCK keyboard indicator may not be synchronized in Windows 95-based or Windows 98-based Terminal Server client sessions. For example, you not be able to type numbers on the numeric keypad even though the NUM LOCK light (or indicator) is on. (W95/98/se/NT4/W2000 12/4/2003) Displays or sets a search path for executable files PATH [ [drive:] path [;...] ] PATH ;

Type PATH ; to clear all search-path settings and direct Windows to search only in the current directory. Type PATH without parameters to display the current path.
Path Suspends processing of a batch program and displays the message: Press any key to continue.. PAUSE Pause Changes the Windows command prompt PROMPT [text]

text Specifies a new command prompt. Prompt can be made up of normal characters and the following special codes: $Q = (equal sign) $$ $ (dollar sign) $T Current time $D Current date $P Current drive and path $V Windows version number $N Current drive $G > (greater-than sign) $L < (less-than sign) $B | (pipe) $H Backspace (erases previous character) $E Escape code (ASCII code 27) $_ Carriage return and linefeed Type PROMPT without parameters to reset the prompt to the default setting.
Prompt RAMDRIVE DOS Command Additional information : RAMDRIVE Windows 95/98 RAM Disk Software RamDisk98 is a Windows port driver that emulates as fully as possible the low-level functionality of a hard disk (up to 2GB!) or a 1.44MB or 2.88MB floppy drive. RamDisk98 supports much larger disks than Microsoft's ramdrive.sys (which is limited to 32MB) and the RamDisk98 drive can be compressed using Windows DriveSpace. The user can select the drive letter for the RAM disk for either floppy or hard disk emulation modes. New Version 1.2! RamDisk98 is Windows Me Compatible! Unable to Load Ramdrive.sys in Windows Millennium Edition RAM drives are not supported in Windows Me. To view a RAM drive, you must start the computer by using a Windows Me Emergency Boot Disk (EBD). (ME5/14/2001)

Removes (deletes) a directory RMDIR [drive:] path RD [drive:] path RD Records comments (remarks) in a batch file or CONFIG.SYS REM [comment] REM Renames a file/directory or files/directories RENAME [drive:] [path] [directoryname1 | filename1] [directoryname2 | filename2] REN [drive:] [path] [directoryname1 | filename1] [directoryname2 | filename2] Note that you cannot specify a new drive or path for your destination. REN UTILITY: CKRename CKRename is a handy utility you can use to perform batch file renaming operations. Displays, sets, or removes Windows environment variables SET [variable=[string]]

variable string

Specifies the environment-variable name. Specifies a series of characters to assign to the variable.

Type SET without parameters to display the current environment variables.

SET Sets the MS-DOS version number that Windows reports to a program Display current version table: SETVER [drive:path] Add entry: SETVER [drive:path] filename n.nn Delete entry: SETVER [drive:path] filename /DELETE [/QUIET]

[drive:path] filename n.nn program. /DELETE or /D program. /QUIET or /Q of

Specifies location of the SETVER.EXE file. Specifies the filename of the program. Specifies the MS-DOS version to be reported to the Deletes the version-table entry for the specified Hides the message typically displayed during deletion version-table entry.

SetVer Setver.exe Is Not Loadable in Windows Millennium Edition (ME 1/30/2001) SHARE DOS Command SHARE Share.exe Is Not Supported in Windows 95 OSR2, Windows 98 or ME (W95/98/ME 5/28/2003) SHELL DOS Command SHELL SHIFT DOS Command

SHIFT Installs and configures the SMARTDrive disk-caching utility SMARTDRV [/X] [ [drive [+|-] ]...] [/U] [/C | /R] [/F | /N] [/L] [/V | /Q | /S] [InitCacheSize [WinCacheSize] ] [/E:ElementSize] [/B:BufferSize]

/X drive +. + /U /C disk. /R /F (default). /N /L memory. /V /Q /S status. InitCacheSize WinCacheSize /E:ElementSize time. /B:BufferSize

Disables write-behind caching for all drives. Sets caching options on specific drive(s). The specified drive(s) will have write-caching disabled unless you add Enables write-behind caching for the specified drive. Disables all caching for the specified drive. Do not load CD-ROM caching module. Writes all information currently in write-cache to hard Clears the cache and restarts SMARTDrive. Writes cached data before command prompt returns Doesn't write cached data before command prompt returns. Prevents SMARTDrive from loading itself into upper Displays SMARTDrive status messages when loading. Does not display status information. Displays additional information about SMARTDrive's Specifies XMS memory (KB) for the cache. Specifies XMS memory (KB) for the cache with Windows. Specifies how many bytes of information to move at one Specifies the size of the read-ahead buffer.

Sorts input and writes results to the screen, a file, or another device SORT [/R] [/+n] [ [drive1:] [path1] filename1] [> [drive2:] [path2] filename2] [command |] SORT [/R] [/+n] [> [drive2:] [path2] filename2]

/R A, /+n [drive1:][path1]filename1 [drive2:][path2]filename2 to be command sorted.

Reverses the sort order; that is, sorts Z to then 9 to Sorts the column n. Specifies Specifies 0. file according to characters in file(s) to be sorted a file where the sorted input is

stored. Specifies a command whose output is to be

SORT START DOS Command Additional information : START How to Start Programs Sequentially in Windows To start programs sequentially in Windows, create a text file containing the following lines: and save the text file with a .bat extension. start /w <program1.exe> start /w <program2.exe> (W95/98/se 1/1/2001)

Associates a path with a drive letter SUBST [drive1: [drive2:] path] SUBST drive1: /D

drive1: path. [drive2:]path to /D

Specifies a virtual drive to which you want to assign a Specifies a physical drive and path you want to assign a virtual drive. Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

SUBST SWITCHES DOS Command Additional information : SWITCHES SYS DOS Command SYS Displays or sets the system time TIME [time]

Type TIME with no parameters to display the current time setting and a prompt for a new one. Press ENTER to keep the same time.
Time TRUENAME DOS Command TRUENAME Displays the contents of text files TYPE [drive:][path]filename Type UNLOCK DOS Command UNLOCK VER DOS Command At the DOS prompt type VER and press ENTER. You should see something like this. MS-DOS Version 6.0 VERIFY DOS Command This command allows you to control whether of not DOS verifies the data it writes to a disk. Displays the disk volume label and serial number, if they exist VOL [drive:] Additional information : VOL Copies files and directory trees XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/W] [/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U] [/K] [/N]

source destination /A /M

Specifies the file(s) to copy. Specifies the location and/or name of new files. Copies files with the archive attribute set, doesn't change the attribute. Copies files with the archive attribute set,

/D:date /P /S /E ones. /W /C /I file, /Q /F copying. /L /H /R /T not /U /K attributes. /Y /-Y /N

turns off the archive attribute. Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time. Prompts you before creating each destination file. Copies directories and subdirectories except empty ones. Copies directories and subdirectories, including empty Same as /S /E. May be used to modify /T. Prompts you to press a key before copying. Continues copying even if errors occur. If destination does not exist and copying more than one assumes that destination must be a directory. Does not display file names while copying. Displays full source and destination file names while Displays files that would be copied. Copies hidden and system files also. Overwrites read-only files. Creates directory structure, but does not copy files. Does include empty directories or subdirectories. /T /E includes empty directories and subdirectories. Updates the files that already exist in destination. Copies attributes. Normal Xcopy will reset read-only Overwrites existing files without prompting. Prompts you before overwriting existing files. Copy using the generated short names.

XCOPY Top Welcome page Last modified on : 04/18/2004 23:51:06