Welcome!

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

SignUp Now!

rd (Remove Directory) gives interesting error:

Feb
5
0
When I did the following:

Code:
rd /?


The output was:
Remove one or more subdirectories.

RD [/I"text" /K /N[et] /Q /R /S] path ...
/I (match description) /Q(uiet - no prompts)
/K (no undelete) /R(ecycle bin)
/N(o errors) /S(ubdirectories/QUOTE]
So I tried to delete a directory using the follow:
Code:
rd /s /n "Save me"


I got the following error:

TCC: (Sys) The parameter is incorrect.
"n"
Usage : RD [/I"text" /K /N[et] /Q /R /S] path ...

The /n in the rd /? is different then when it errored on the actual remove of the directory. One place TCC gives that /n is suppose to be no errors while the error's gives the usage of [N]et. One place it is wrong The help file even gives a different usage for /n -- /n in one place says the the useage is /n[et] then in the underneath it says that "/n disable options"

Not sure what this really means.

George
 
Last edited:
Yes, from the current help file for v26.x it should be:

Code:
/N This option takes two possible arguments:

e Don't display errors.
t Don't update the CD / CDD extended directory search database (JPSTREE.IDX).
 

Similar threads

Back
Top