rd (Remove Directory) gives interesting error:

Feb 21, 2014
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:
Jan 12, 2014
423
7
Switzerland, SO
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
Thread starter Title Forum Replies Date
MikeBaas Edit/remove kbd shortcuts of Macro Recorder? Support 7
x13 TPIPE /REPLACE - Remove line (including EOL) Support 3
C NE1 have BTM to remove %appdata\JP Software\ etc... Support 0
H DOS CMD Sort+Add Sequence+Remove Sequence number Support 12
vefatica Remove double-quotes with TPIPE Support 4
H Remove all previous activations Support 4
D Fixed Cut and paste in TC's file/folder view does not remove file Support 17
vefatica Must update remove my taskbar-pinned shortcut? Support 20
A How to? Remove last argument on command line Support 4
samintz How to? remove adjacent common chars Support 2
C Drag-and-drop from file-view may "remove" Support 1
S Setup - remove older versions? Support 4
C Can't remove leading quote from a string Support 2
A Cannot permanently remove Tabs toolbar using View menu - bug? Support 8
thedave Remove a section from an INI file Support 6
fishman@panix.com HELP!! I just updated to Version 28 and as usual I cannot make extended directory search work. Support 2
D How to use multi-line DO to loop through first level directory names Support 5
D ParentDirectory does not update directory history Support 6
samintz CDD to non-existent directory hangs Support 2
D Directory History Window with wildcard search Support 3
D How to? Skip removing directory (RMDIR) without error message Support 2
gentzel Directory stack empty when running TCEXIT? Support 9
vefatica Disable extended directory searches (completely)? Support 8
M WAD "Pictures" directory is empty in TCC but not in CMD or Explorer Support 4
G Local Directory Corruption Support 11
Jay Sage Directory Alias Access to FTP Servers Support 2
Joe Caverly DIRectory Colorization in v25 Help File Support 0
K copy changing destination current directory Support 1
thorntonpg option /u not working The directory name is invalid Support 5
J built in file explorer - how do i go back "up" the directory? Support 2
vefatica Extended directory searches? Support 6
Joe Caverly Using a Directory Alias with @iniwrite fails Support 14
A Installer /extract: extracts into current directory if target not exists Support 12
Charles Dye Ctrl-Shift-Up doesn't update directory history Support 1
G Extended directory search not working Support 4
CWBillow Editing in the root directory of windows 10 Support 6
D Directory stack empty Support 1
J directory or folder to start in Support 2
M How to unlock a directory Support 1
Alpengreis Fixed TCMD FileExplorer Start-Directory problem Support 4
R V19 - At startup, TCC save directory in the directory history list Support 2
C Touch command — I Need to touch matching files in another directory. Support 5
nickles Move takecommand.18.0.key location to installation directory Support 4
fishman@panix.com Extended Directory Searches are not working for me in CDD Support 9
vefatica TCMD's current directory? Support 4
J How to set working directory Support 10
nickles How to? Follow a JUNCTION type directory link Support 9
Steve Pitts WAD Strange output from DEL of a non-existent directory Support 7
I tab completion with directory commands Support 7
vefatica Start-up directory for new tabs? Support 7

Similar threads