text stringlengths 0 4.23k |
|---|
reset |
Resets DiskShadow.exe to the default state. This command is especially useful in separating compound DiskShadow operations, such as create, import, backup, or restore. |
[!IMPORTANT |
After you run this command, you will lose state information from commands, such as add, set, load, or writer. This command also releases IVssBackupComponent interfaces and loses non-persistent shadow copies. |
Syntax |
reset |
retain |
Prepares an existing simple dynamic volume for use as a boot or system volume. If you use a master boot record (MBR) dynamic disk, this command creates a partition entry in the master boot record. If you use a GUID partition table (GPT) dynamic disk, this command creates a partition entry in the GUID partition table. |
Syntax |
retain |
revert |
Reverts a volume back to a specified shadow copy. This is supported only for shadow copies in the CLIENTACCESSIBLE context. These shadow copies are persistent and can only be made by the system provider. If used without parameters, revert displays help at the command prompt. |
Syntax |
revert <shadowcopyID> |
Parameters |
Parameter |
Description |
<shadowcopyID> |
Specifies the shadow copy ID to revert the volume to. If you don't use this parameter, the command displays help at the command prompt. |
<shadowcopyID> |
rexec |
Runs a specified command on a remote host. The remote host must be running a rexecd service (or daemon) for rexec to connect to. |
Important |
The rexec command has been deprecated, and isn't guaranteed to be supported in Windows. |
risetup |
Creates an operating system image by pulling the files from the original Windows Server 2003 CD or from a customized distribution folder containing these files. |
Important |
The rexec command has been deprecated, and isn't guaranteed to be supported in Windows. |
rmdir |
Deletes a directory. |
The rmdir command can also run from the Windows Recovery Console, using different parameters. For more information, see Windows Recovery Environment (WinRE). |
Note |
This command is the same as the rd command. |
Syntax |
rmdir [<drive>:]<path> [/s [/q]] |
Parameters |
Parameter |
Description |
[<drive>:]<path> |
Specifies the location and the name of the directory that you want to delete. Path is required. If you include a backslash () at the beginning of the specified path, then the path starts at the root directory (regardless of the current directory). |
/s |
Deletes a directory tree (the specified directory and all its subdirectories, including all files). |
/q |
Specifies quiet mode. Does not prompt for confirmation when deleting a directory tree. The /q parameter works only if /s is also specified.CAUTION: When you run in quiet mode, the entire directory tree is deleted without confirmation. Make sure that important files are moved or backed up before using the /q command-line option. |
/? |
Displays help at the command prompt. |
[<drive>:]<path> |
CAUTION: When you run in quiet mode, the entire directory tree is deleted without confirmation. Make sure that important files are moved or backed up before using the /q command-line option. |
Remarks |
You can't delete a directory that contains files, including hidden or system files. If you attempt to do so, the following message appears: |
The directory is not empty |
The directory is not empty |
Use the dir /a command to list all files (including hidden and system files). Then use the attrib command with -h to remove hidden file attributes, -s to remove system file attributes, or -h -s to remove both hidden and system file attributes. After the hidden and file attributes have been removed, you can delete the files. |
You can't use the rmdir command to delete the current directory. If you attempt to delete the current directory, the following error message appears: |
The process can't access the file because it is being used by another process. |
The process can't access the file because it is being used by another process. |
If you receive this error message, you must change to a different directory (not a subdirectory of the current directory), and then try again. |
Examples |
To change to the parent directory so you can safely remove the desired directory, type: |
cd .. |
To remove a directory named test (and all its subdirectories and files) from the current directory, type: |
rmdir /s test |
To run the previous example in quiet mode, type: |
rmdir /s /q test |
robocopy |
Copies file data from one location to another. |
Syntax |
robocopy <source> <destination> [<file>[ ...]] [<options>] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.