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? For with /Nj problem...

May
855
0
I want to do a simple "For ... /Nj ..." command, and I can not get it to work. As always:
Code:
[Z:\]For /D /R . %D in (*) Do (Echo "%D")
"Z:\Demo"
"Z:\DemoII"
"Z:\Development"
"Z:\DoIt"
"Z:\File-Type Data"
"Z:\FreePlus"
"Z:\Google Voice Call Logs"
"Z:\Histories"
"Z:\IrpMan"
"Z:\JPSoft"
"Z:\JustCount"
"Z:\Level1"
"Z:\LinksII"
"Z:\On-D"
^C
Same thing with "/Nj" parameter:
Code:
[Z:\]For /D /Nj /R . %D in (*) Do (Echo "%D")
TCC: (Sys) The parameter is incorrect.
 "j"
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
 
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
 

Similar threads

Back
Top