![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-26 22:33 |
47,812 topics / 349,912 posts / today 2 new / 48,264 members |
| 其它操作系统综合讨论区 » Question about how the rd /s /q command works |
| Printable Version 1,495 / 3 |
| Floor1 sofu456 | Posted 2009-02-14 23:45 |
| 新手上路 Posts 4 Credits 7 From 渠县 | |
|
When I used the rd /s /q command to delete a malformed file with spaces in its name, somehow all the shortcuts on the desktop were deleted, the items in the Start menu were reduced, and even the options in the menu that appears when right-clicking on the desktop were reduced. Even more infuriating, “Shared Documents” on my computer became inaccessible, “User Documents” was deleted, and the whole thing is too awful to look at...........
The file I created was: (created on the desktop) @echo off md "hero \" pause But when deleting it, I accidentally typed rd /s /q hero \, missing the quotation marks, and then the situation described above appeared on the desktop. I don't know how this result came about internally, and whether there is any way to solve it, at least to access “Shared Documents.” If it can be restored to its original state, I would be extremely grateful. ———————————————————————————————— Moved from DOS Troubleshooting & Problem Discussion (Answer Room) Obviously posted in the wrong section. Since this is a new forum user, no punishment will be given for now. Please pay attention in the future. ——Administrator ———————————————————————————————— |
|
| Floor2 HAT | Posted 2009-02-15 13:28 |
| 版主 Posts 5,017 Credits 9,023 | |
|
1. If the data is very important, it is recommended to find a professional data recovery company (do not perform any operations yourself, otherwise it may increase the difficulty of recovery);
2. If the data is not too important, I personally recommend using FinalData (other similar software such as recovery 4 all, easy recovery, etc.) for recovery (none of the common recovery software can achieve a 100% recovery rate, so please be mentally prepared); 3. If you decide to recover the data yourself, it is recommended to use a no-install green version (to avoid writing data to the hard drive as much as possible) and put it on a USB flash drive or mobile hard drive. During the recovery process, when choosing the path to store the recovered files, you should also try to choose the USB flash drive or mobile hard drive. |
|
| Floor3 sofu456 | Posted 2009-02-15 22:01 |
| 新手上路 Posts 4 Credits 7 From 渠县 | |
|
The data isn't important. I just don't understand how it is handled internally, and only now did I realize that “Shared Documents” was actually deleted. Is there any remedy? Edit the registry?
|
|
| Floor4 wangfangjian | Posted 2009-02-18 22:18 |
| 中级用户 Posts 192 Credits 274 | |
|
It seems like it deletes its subdirectories one by one
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |