1.

Solve : batch script to copy and rename a folder that had contents in it?

Answer»

i need help with BATCH script to COPY and RENAME a folder thats has files in it with today date.


i use this code for my file but its not working for the folder
Code: [Select]for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "\\nasdata02\finance01\DATA\SMS_MC\Projects\_Databases\Archive\S\Section 1011\Monthly 1011 Olie Process\Template\EWM10AI*.txt" *EWM10AI1-PBSR-%%e%%f%%g.txt

Could you PROVIDE an example of what your input files look like and what you want the output to look like. I am not following your logic at all.



Discussion

No Comment Found