中国DOS联盟论坛

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-13 12:20
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Why does the RD command behave like this? ------Don't understand!
Printable Version  4,744 / 35
Floor1 xjj2007 Posted 2006-10-26 13:22
初级用户 Posts 57 Credits 149 From 湖南
After I entered RD 123.. ... ... .. .. .. ... /S /Q in the command prompt, most of the files in my user directory were deleted, and system folders (such as "My Documents") became unusable.

The current path is %USERPROFILE%\Desktop\
Floor2 electronixtar Posted 2006-10-26 21:02
铂金会员 Posts 2,672 Credits 7,493
Wow!-_-!

.. .. .. .. .. .. Isn't it just the parent path's parent path's parent path's parent path's parent path? Wahhaha

I remember back then when I played with rd \\.\ and accidentally wrote rd \, then the hard drive light flashed like crazy for 5 seconds, and then 20GB of tools and years of accumulated data were gone~~~~5555555, still having lingering fearsing.....

rd /s/q >> format Tyranny is fiercer than a tiger indeed

[ Last edited by electronixtar on 2006-10-26 at 09:05 PM ]
Floor3 redtek Posted 2006-10-26 21:24
金牌会员 Posts 1,147 Credits 2,902
Before being familiar with the consequences of command execution, you should first look at the help of the command~ :)

This is the help of the RD command for WinServer 2003~ :)

Floor4 NaturalJ0 Posted 2006-10-26 21:29
银牌会员 Posts 533 Credits 1,181
I still prefer deltree more, but it's gone in CMD. = =b
Floor5 yunli Posted 2006-10-26 22:12
初级用户 Posts 27 Credits 56
Learned it!
Need to be careful when using it in the future.
Floor6 lz377926 Posted 2006-10-27 00:29
新手上路 Posts 2 Credits 4 From 成都
Learning
Floor7 xjj2007 Posted 2006-10-27 06:29
初级用户 Posts 57 Credits 149 From 湖南
Thanks for everyone's replies!
Floor8 fastslz Posted 2006-10-27 07:16
铂金会员 Posts 2,315 Credits 5,493 From 上海
Originally posted by electronixtar at 2006-10-26 21:02:
Wow! -_-!

.. .. .. .. .. .. Isn't it just the parent path's parent path's parent path's parent path's parent path? Hahaha

I remember playing with rd \\.\ and accidentally writing rd \, then the hard drive light flashed wildly for 5 seconds, and then 20GB of tools and years of accumulated data were gone~~~~5555555, still having lingering fears ing.....

rd /s/q >> format Tyranny is fiercer than a tiger


I have the same bad luck
Floor9 lxmxn Posted 2006-10-27 08:15
版主 Posts 4,938 Credits 11,386

  Hehe, when we are not familiar with the syntax and function of a command, we must first check the help documentation of this command. It is not too late to continue your experiment after understanding the syntax and function of the command. Even the copy command that we often use to copy files has great destructive power.
Floor10 zlgs Posted 2006-10-27 13:19
初级用户 Posts 45 Credits 88
Although I have used RD, but I haven't added parameters. It's basically the same as the formatting parameters. Using rd . /S /Q is whether it is equivalent to deltree/y . >nul. Executing in the DOS root directory is very destructive.
Floor11 xtay1625 Posted 2006-10-27 14:58
初级用户 Posts 9 Credits 128
Everything needs to be done carefully!! For commands and command formats that are not well understood, don't randomly try!
Floor12 hymm2008 Posted 2006-12-15 04:38
初级用户 Posts 43 Credits 102
Originally posted by fastslz at 2006-10-21 07:16:

I also suffered the same bad luck :o

:(:(:(:(:(:(
Floor13 electronixtar Posted 2006-12-15 07:25
铂金会员 Posts 2,672 Credits 7,493

Using rd . /S /Q
Is it equivalent to deltree/y . >nul


Actually, rd \ /s /q is the most comprehensive

Who is bored can try
rd /s /q C:;D:;E:;F:;G:;F:G:;H:;I:;J:;K:
Floor14 nt101007 Posted 2006-12-15 08:49
初级用户 Posts 14 Credits 28
Floor 13:

This is obviously scamming people!
Floor15 lisiyuan Posted 2006-12-16 04:06
初级用户 Posts 28 Credits 21
1 2 3  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023