Prev | Current Page 637 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

. syntax with the PushD command.
Removing a Directory with the RD and RmDir Commands
The RD and RmDir commands perform the same task; they remove an empty directory from your
hard drive. If you attempt to remove a directory that contains any files, the command displays an
error message. Removing old directories cleans up the hard drive and makes it easier to find existing
data. In addition, each directory consumes a minuscule amount of space on the hard drive that
removing the directory frees. These commands use the following syntax:
RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path
The following list describes each of the command line arguments.
drive Specifies the drive where the directory is located.
path Specifies the absolute or relative path of the directory to remove.
MANAGING REMOVABLE STORAGE WITH THE RSM UTILITY 263
/S Removes all of the subdirectories and files in the specified directory along with the directory
itself. This feature removes the safety feature that tells you when a directory contains files,
but does make these commands easier to use within a batch file. This command line switch
makes the RD and RmDir commands equivalent to the DelTree command.


Pages:
625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649
aquilamed Spa Ciechocinek drzwiowe hosting hotele londyn