D
djc
The FOR command allows you to run a command on each %i variable.. so, when
running this the command prompt displays each instance of the command run as
well as it's output. Is there a way to suppress only the command from
displaying but allowing the output from each command to display? I'm looking
for a way to trim down and format the output.
for example using a FOR command to run a DIR on some list would look like
this:
c:\DIR element1
File Not Found
c:\DIR element2
File Not Found
c:\DIR element3
File Not Found
etc.. etc..
I'm looking for a way to only display:
File Not Found
File Not Found
File Not Found
any input is appreciated. thanks.
running this the command prompt displays each instance of the command run as
well as it's output. Is there a way to suppress only the command from
displaying but allowing the output from each command to display? I'm looking
for a way to trim down and format the output.
for example using a FOR command to run a DIR on some list would look like
this:
c:\DIR element1
File Not Found
c:\DIR element2
File Not Found
c:\DIR element3
File Not Found
etc.. etc..
I'm looking for a way to only display:
File Not Found
File Not Found
File Not Found
any input is appreciated. thanks.