How to? For with /Nj problem...

May 24, 2010
Northlake, Il
I want to do a simple "For ... /Nj ..." command, and I can not get it to work. As always:
[Z:\]For /D /R . %D in (*) Do (Echo "%D")
"Z:\File-Type Data"
"Z:\Google Voice Call Logs"
Same thing with "/Nj" parameter:
[Z:\]For /D /Nj /R . %D in (*) Do (Echo "%D")
TCC: (Sys) The parameter is incorrect.
Usage : FOR [/A:[[-][+]rhsdaecjot] /D /F ["options"] /H /I"text" /L /Nj /O:[-]adegn
rstu /R [path] /T"..." /W] %var IN ([@]set | start, step, end) [DO] command ...
So the question is simple: What am I doing wrong/misunderstanding?

- Dan
May 24, 2010
Northlake, Il
Thank you, Charles!!!! Boy, I wouldn't have thought to try that particularly since this is one of the oddball cases where the docs show something in lowercase!!!:) (And Rex, either the docs or the program (about 2 minutes to change at least after you've found where that particular code is - although it's not worth an "update" for that alone) or both should be changed.).

- Dan
Thread starter Similar threads Forum Replies Date Support 2
Charles S. Roaten Support 1
M Support 0
R Support 9
V Support 0