|
Answer» Hi
Hope you guys can help me out. IM running a batch job on this application we use. I have a file that kicks off this batch job through dos. The file name is test.dat. What i want to do is store that file name in a temp directory and when my batch finishes i want to rename the output file (eg normal.pdf) to test.pdf. ANYONE know how this can be DONE?
To copy the file to the temp folder use copy or xcopy. To rename a file use ren. For temp you can use the built in VARIABLE %temp%.
hope this helps ulii can do the copy bit fine, what WOULD be the command i need to copy the file name that im processing and store it somewhere and rename the file once its finished
Quote To rename a file use ren.
hope this helps uli
|