|
![](/i/fill.gif) |
On 2/9/2012 6:23, Invisible wrote:
> rm folder1
> it deletes the specified folder. So far so good, eh?
No it doesn't.
> Oh, but that fails if the folder is not empty, so you must add /S. Oh, but
> that asks for confirmation, so you must add /Q as well.
Other than the confirmation, this is all identical to how unix works. "rm"
doesn't delete directories on unix unless you add "-r". Unix has an rmdir
command.
> Short version: To delete an object, you must know whether it is a file or a
> folder. Thanks for that... :-P
Or you could run both commands.
--
Darren New, San Diego CA, USA (PST)
People tell me I am the counter-example.
Post a reply to this message
|
![](/i/fill.gif) |