11-16-2007 07:42 AM
Hi,
I would like to copy and rename files using variable names with in a loop.
The source file is the same name but the destination file will vary depending on the loop.
I have Test stand 2.0.1 and windows 98
I have tried a batch file which will run and do the needful but Teststand will return an error and the DOS window will stay open.
How beat can I do this?
Thanks
Simon
11-16-2007 12:53 PM
QW123z,
Are you running the batch file using the call executable step?
Why are you using a batch file rather than just the DOS "copy" command?
How are you passing your variable names?
What error are you getting?
11-16-2007 01:38 PM
11-19-2007 04:04 AM
Hi,
Thanks for the replays.
I will try the kernel32.dll route a try.
To replay to Josh W.
Are you running the batch file using the call executable step?
Yes
Why are you using a batch file rather than just the DOS "copy" command?
Batch file works where as “Copy” is not recognised!!
What error are you getting?
A message stating there was an error in "Post".
Attached is the batch file and the sequence step.
What do you suggest as the best route?
Thanks for the help
Simon