Using DOS and its commands is still very useful even in today’s modern world of computing. You won’t find a file called rd.exe or rmdir.exe in your system. If you didn’t know, the RD and RMDIR are really the same and are internal commands for DOS. It looks like Windows 2000, XP, Vista and 7 have an updated RD command with the /S option to basically merge both deltree and RD into one command. To delete directories with files or directories within them the user had to use the deltree command. Q = Quiet mode, do not ask if OK to remove a directory tree with /S.īack in the Windows 98 days, the RD command was used to remove empty directories in MS-DOS. S = Removes all directories and files in the specified directory in addition to the directory itself. Even though the deltree command has now gone, you can emulate it in newer operation systems with the RD or RMDIR command.įor example, the following DOS command deletes the C:\RAYMOND directory and all sub directories without any warning:
0 Comments
Leave a Reply. |