CRNG
2015-02-28 17:07:29 UTC
I have a directory with several "date" subdirectories in it, such as:
Directory of D:\erunt\*
. <DIR> 2/26/15 13:42 registry backup
.. <DIR> 2/26/15 13:42
2015-02-16 <DIR> 2/16/15 14:51
2015-02-26 <DIR> 2/26/15 13:42
The command
D:\tmp0>dir /a:d d:\erunt\*
lists the following correctly:
Volume in drive D is Data Serial number is 982b:d96b
Directory of D:\erunt\*
. <DIR> 2/26/15 13:42 registry backup
.. <DIR> 2/26/15 13:42
2015-02-16 <DIR> 2/16/15 14:51
2015-02-26 <DIR> 2/26/15 13:42
however at the command line
for /a:d %f in d:\erunt\20* echo %f
shows the errror message.
Usage : FOR [/A:[[-][+]rhsdaecjot] /D /F ["options"] /H /I"text" /L /R
[path] /T"..."] %var IN ([@]set | start, step, end) [DO] command ...
I also get an error message for the command
for /d %f in d:\erunt\20* echo %f
Can anyone suggest what I am doing wrong with
TCC 9.02.151 Windows XP [Version 5.1.2600](sp3)?
Thanks
Directory of D:\erunt\*
. <DIR> 2/26/15 13:42 registry backup
.. <DIR> 2/26/15 13:42
2015-02-16 <DIR> 2/16/15 14:51
2015-02-26 <DIR> 2/26/15 13:42
The command
D:\tmp0>dir /a:d d:\erunt\*
lists the following correctly:
Volume in drive D is Data Serial number is 982b:d96b
Directory of D:\erunt\*
. <DIR> 2/26/15 13:42 registry backup
.. <DIR> 2/26/15 13:42
2015-02-16 <DIR> 2/16/15 14:51
2015-02-26 <DIR> 2/26/15 13:42
however at the command line
for /a:d %f in d:\erunt\20* echo %f
shows the errror message.
Usage : FOR [/A:[[-][+]rhsdaecjot] /D /F ["options"] /H /I"text" /L /R
[path] /T"..."] %var IN ([@]set | start, step, end) [DO] command ...
I also get an error message for the command
for /d %f in d:\erunt\20* echo %f
Can anyone suggest what I am doing wrong with
TCC 9.02.151 Windows XP [Version 5.1.2600](sp3)?
Thanks
--
Web based forums are like subscribing to 10 different newspapers
and having to visit 10 different news stands to pickup each one.
Email list-server groups and USENET are like having all of those
newspapers delivered to your door every morning.
Web based forums are like subscribing to 10 different newspapers
and having to visit 10 different news stands to pickup each one.
Email list-server groups and USENET are like having all of those
newspapers delivered to your door every morning.