PIRATED 20130920 2304

PIRATED 20130920 2304

NOTE: This content appears to have been plagiarized. Please leave a comment or email tnwiki at Microsoft (with a link to this article) if we are mistaken. The content was pulled from the following source:
The community rules state:
  • "Someone else has relevant content and you want to help them share it with the world. It's a nice thought, but do not copy other people's content to the Wiki, even if the owner said it was OK."

See also the pirated main article Managing Windows 7 through Command Line which links to additionalpirated chapters of the book.

According to the US Copyright Act every content which is substantially similar to the original is a plagiarism.





"rd" is the command used to remove or delete directories or folders. The basic syntax of the command is as follow:

rd folderpath\Foldername

rd has only three switches, shown in the following table:

Command
 Description
rd Deletes the folder if it is empty. Look the following example:



Note: You can use rmdir command to remove directories and folders, instead of using rd command. See the following example:



If the folder is not empty, you will get the following error message:


rd /s
Deletes the folder and all files and subdirectories in the folder. If there are any folders or files in the folder,
you will be prompted to confirm the deletion. Look at the following example:


rd /s /q  This will delete the folder and all files and subdirectories in the folder. It will not prompt you to confirm the
deletion. Look the following example:



The /q switch is useful when using the rd command within a batch file. It will automatically do the action
without requiring a confirmation.

Note: "rd" does not support wildcards. Look at the following figures:



But you can remove multiple folders in one command. Look the following example:



Leave a Comment
  • Please add 6 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Carsten Siemens edited Revision 8. Comment: Pirated Content - see my comment

  • Richard Mueller edited Revision 7. Comment: Removed (en-US) from title, title casing, added tags

Page 1 of 1 (2 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • good

  • Richard Mueller edited Revision 7. Comment: Removed (en-US) from title, title casing, added tags

  • Carsten Siemens edited Revision 8. Comment: Pirated Content - see my comment

  • NOTE: This article was reported as Pirated/Plagiarized Content (content you didn't write) and will be removed. Please do not steal content from others. If you feel we are mistaken, please leave a comment or email tnwiki at Microsoft with a link to this article and with clear and detailed reasons why you own the content or have explicit permission from the author.

    Content was taken from: "Book - Windows 7 Portable Command Guide"

    Published by Darril Gibson (Pearson)

    de.scribd.com/.../67827130-Windows-7-Portable-Command-Guide-MCTS-70-680-70-685-70-686

    my.safaribooksonline.com/.../ch01

    See also the pirated main article Managing Windows 7 through Command Line which links to additionalpirated chapters of the book:

    social.technet.microsoft.com/.../12066.pirated-20130920-2224.aspx

    According to the US Copyright Act every content which is *substantially similar* to the original is a plagiarism.

Page 1 of 1 (4 items)