How to? I need help with RD

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?
Similar threads
Thread starter Title Forum Replies Date
vefatica Need help with XML Support 3
J Need activation help. Support 1
C Cmpr_Del.btm need help understanding UDF..... Support 2
Frank How to? need help with "function" Support 10
R How to? i need a little help Support 3
S Need help to execute TCC commands on another system Support 6
H I need a little help. Support 4
M Need help Support 0
D Need to set Take Command font size when switching to high DPI display Support 0
vefatica gcd() and lcm() ... need '%' Support 10
C Touch command — I Need to touch matching files in another directory. Support 5
D I need a debug-plan Support 4
vefatica New desktop, need Explorer PID Support 1
B Need To Deactivate V12.1 Before Reinstall To Different Directory? Support 3
S Re: Release of new version - do we need to download again? Support 8
O Need 'grep' equivalent Support 13
vefatica What environment variables does IDE need? Support 3
T Expired trial...need to evaluate new build Support 1
C how to copy to folder where I need admin rights Support 5
deleyd Need example of @COMPARE Support 1
P Need to use a regex in a "for" loop. Support 54
H New to TCC and I need assistance Support 8
C Add link to ewriter help to program group... Support 3
samintz How to? Search for %(command) in Help? Support 1
Joe Caverly Favorites in eWriter Help Support 6
Joe Caverly Quick Search in eWriter Help Support 1
vefatica Online help? Support 2 HELP!! I just updated to Version 28 and as usual I cannot make extended directory search work. Support 2
JohnQSmith New online help file wrong logo Support 7
Jay Sage Documentation Function @DRIVE Missing in Help Lists Support 0
Charles Dye More help nits Support 0
D Documentation Typo in COPY help Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
Joe Caverly Documentation COMMANDS in Version 27 help Support 8
K_Meinhard How to? Help window position Support 7
U Command help on file names Support 5
D Documentation Help "Startup" page does not describe global lists Support 0
vefatica Help disappears? Support 6
rchapmanitt Help Purchasing Support 2
Charles Dye Documentation Help nits: @ZIPFILECRC Support 0
C version help Support 3
C Documentation Help Nit. REN / RENAME Support 0
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
vefatica Help for @PID Support 2
Alpengreis Documentation Minor issue in help file for view /E Support 1
R Documentation Advanced Directives Help Support 0
R Documentation Help Nit with SETP Support 0
R wmic command help Support 9
R Documentation Help Nit > bdebugger View Menu Support 0
R Documentation A couple of Help nits Support 0

Similar threads