| < Day Day Up > |
Although "path" has a more general meaning, "the path" refers to the path to all of these commands. In 9x, some of these are in the root folder of the boot drive (usually C:\), some are in the Windows folder (usually C:\Windows), and some are in the Command folder (usually C:\Windows\Command). In 2000 and XP, commands can be found in the Windows folder (usually C:\Windows or C:\Winnt), and in the System32 folder (usually C:\Windows\System32). There also might be a Command folder (usually C:\Windows\Command or C:\Winnt\Command). The PATH command sets the computer to recognize the locations of these commands. That is how Windows can find each command simply from the
Type PATH followed by the path that contains commands. You can enter multiple command paths by separating them with semicolons (;).
;: Separates the different paths that are to make up "the path." If you use this by itself, the existing command path will be deleted.
In 9x, if you find you don't have access to all commands that should be available, type:
PATH C:\;C:\Windows;C:\Windows\Command
You can add any other paths you want, separated by semicolons. This can be
| < Day Day Up > |
| < Day Day Up > |
Recovers readable data from a damaged bad or defective disk.
Type RECOVER followed by the
RECOVER reads a file sector by sector and recovers data from the good sectors. Data in bad sectors is lost. It is common practice to
| < Day Day Up > |
| < Day Day Up > |
Changes the
Navigate to the folder that contains the file you want to rename, or to the parent folder of the subfolder you want to rename. Type REN followed by the existing file or folder name, a space, and then the new file or folder name. REN cannot be used to move files or folders, so you cannot enter a new
You can use wildcards in either or both the existing and the new filenames, with the caveat that the wildcard characters will stand for the same real
If you try to rename a file to a filename in use in the same folder, you'll get an error message and the renaming operation will not proceed.
| < Day Day Up > |
| < Day Day Up > |
Replaces files in the destination folder with files in the source folder that have the same
To replace files or folders, type REPLACE followed by the
/a: Adds only files to the destination folder that aren't there already; /a cannot be used at the same time as the /s or /u switches.
/p: Prompts you for confirmation before replacing or adding a file or folder.
/r: Replaces read-only, hidden or system files or folders. Files or folders in the destination folder with these attributes normally would cause the operation to stop.
/w:
Waits for you to insert a disk before searching for source files or folders. Without this switch, REPLACE attempts to replace or add files immediately after the
/s:
Includes
/u:
Replaces only those files in the destination folder that are older than those with the same
| < Day Day Up > |