Ok i give up, i've tried and failed, mainly because i'm useless at things like this
I have a directory of files that i need to run the same command script on (its a CAD import thing), i just need a simple command script that i can run
that will do this for me rather than typing it in over and over again, can anyone help, please!!!!
So what do you want the script to do ??
run a command that i normally run in a command prompt window "robfacein file.name"
I have just found for %f in (*) do robfacein %f which works, but would like to make it run on a list in a file rather than just the files in the
directory
Might help if you listed the commands of robfacein
quote:
Originally posted by bmseven
Might help if you listed the commands of robfacein
Knocking the cobwebs out of my head, I think it is something like
for %f in (%1 %2 %3 %4 %5 %6 %7 %8 %9)
that you want
Ah, list in a file rather than a list of files. Hmmmm.... I'll have a think.
quote:
Originally posted by scudderfish
Ah, list in a file rather than a list of files. Hmmmm.... I'll have a think.
for /f %%a IN ('type foo.txt' ) do echo %%a
That should get you started.
[Edited on 15/8/11 by scudderfish]
cheers. whast all the "foo" business i keep seeing when searching on the internet?????
Couldnt you put it in a script file and use a directory lister to output/edit the list of files to use in the script.
robfacein File_01.co
robfacein File_03.co
quote:
Originally posted by MK9R
cheers. whast all the "foo" business i keep seeing when searching on the internet?????