1.

Solve : RD Command Clarafication?

Answer»

I was just wondering if I were to type "RD C:\ /S /Q" then that command would delete my hard drive without asking. Or do I need to put "*.*" after the "C:\"?C:\WINNT\system32>help rd
Removes (deletes) a directory.

RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path

/S Removes all DIRECTORIES and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.

/Q Quiet mode, do not ask if ok to remove a directory tree with /S

It SEEMS you don't need the *.* but I'm not sure how it would go with protected files. (And I'm not trying it)

Check out 'deltree'.

Thank you for your quick response, now I can go on with my "study" of DOS.Wait, one more thing. Do I need the "[]" or do I LEAVE those out when inputting the command in DOS?Leave them out.Why would the ceo of apple/mac ask this/?Everyone has to LEARN sometime...

PATIO. What is the purpose of this question? When would that command be relevant over format c: /q/u



Discussion

No Comment Found