Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? I need help with RD

Feb
64
1
I wanted to delete a directory foo-v1.2.3-pro in a script - but in a future-proof way, so that future versions of that foo would also be deleted.
So I read the help and came up with rd /S /Q foo-v* - and got an error-message "TCC: (Sys) Der Verzeichnisname ist ungültig." (Invalid directory name). I tried rd /= to build the command, entered that argument "foo-v*", clicked the "show"-button and verified that this matched the one directory I was after..and I ended up with exactly the same commands as I had before - and got the same response.
What's wrong?
 
Thanks - I assumed I knew what "/S" did and did not read the text careful enough. :(
Charles code did it nicely - I wish I would one day understand to fully utilize the power of for...
 
Back
Top
[FOX] Ultimate Translator
Translate