In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you the "cmd rd command how to delete a folder", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "cmd rd command how to delete a folder" this article.
Delete a folder must use the rd command
Another way to write rd is rmdir, which comes from ReMakeDirectory. The method used is also simple: the name of the rd folder, for example: rd test. It supports folder names with paths, for example: rd d:\ test.
Sometimes rd doesn't do a good job: you ask it to delete the test folder, but it arrogantly rolls its eyes at you: the directory is not empty. However, it can't be blamed for being lazy and not working, but its temper is a little strange: if there are subfiles under the folder you want to delete, you have to put a high hat on rd and add a / s parameter before it will happily do things for you, so the correct way to write it is: rd / s test.
If you are a complete slacker, just using rd / s test may not be satisfied with it, because when you delete the folder of the tape files, CMD always stops unwittingly and asks you graciously: are you sure? I have to wait for you to type a character and hit enter. You can't blame the government for your bitter fate, and you can't blame the society for your misfortune. Who says rd has so much power? once it plays hooligans, no one can stop it-- rd has risks, so you have to be careful when you delete it. Fortunately, Microsoft is considerate to those who are very sure about deletion and are too lazy to kill, providing a very convenient parameter / Q, which is taken from quiet, which is officially interpreted as: quiet mode, no confirmation is required when deleting a directory tree with / S. Try again this time: rd / Q / s test, it really is: in a flash, it goes up in smoke, is there a feeling of being out of sight and out of mind?
The above is all the contents of the article "how to delete folders with rd commands in cmd". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.