P phillydog Senior member Dec 19, 2001 472 0 0 Sep 15, 2006 #1 Anyone know of any good sites for DOS scripting? I need to take files such as: c:\aaa\test.txt c:\bbb\test.txt c:\ccc\test.txt and copy them to c:\new\aaa-test.txt c:\new\bbb-test.txt c:\new\ccc-test.txt Please help
Anyone know of any good sites for DOS scripting? I need to take files such as: c:\aaa\test.txt c:\bbb\test.txt c:\ccc\test.txt and copy them to c:\new\aaa-test.txt c:\new\bbb-test.txt c:\new\ccc-test.txt Please help
DanTMWTMP Lifer Oct 7, 2001 15,908 19 81 Sep 15, 2006 #2 hmm... install a unix shell, then I can help you . I donno the syntax for dos shell, but give something like this a try: ? cp /???/test.txt > ???-test.txt I donno the dos equivalent to "?"
hmm... install a unix shell, then I can help you . I donno the syntax for dos shell, but give something like this a try: ? cp /???/test.txt > ???-test.txt I donno the dos equivalent to "?"
N notfred Lifer Feb 12, 2001 38,241 4 0 Sep 15, 2006 #4 Originally posted by: CuriousMike copy ???.txt ???-test.txt Click to expand... If you want it to complain that you can't name a file with a question mark, sure, that will work great.
Originally posted by: CuriousMike copy ???.txt ???-test.txt Click to expand... If you want it to complain that you can't name a file with a question mark, sure, that will work great.
S Scooby Doo Golden Member Sep 1, 2006 1,034 18 81 Sep 16, 2006 #6 How about xcopy c:\*.* c:\new\*.* /s or something on those lines