The BAT file in the attached related question works but I need to tweak it and I dont know how.
I copy a file called "PF.txt". It renames it to PF20112709.txt
I copy another file with the same name "PF.txt" but the renamed file gets renamed to "PF2011270920112709.txt"
1. How can I add "time" at the end of the file?
2. I need to rename the one that doesnt have date/time attached to it?
So, I can have the same filename and i need to rename the one that hasnt been changed by the BAT file...
I've posted the file again here
for /r %ManifestDir% %%i in (*.*) do (
call :doitnow %%i %%~ni %%~dpi %%~xi
RENAME %ManifestFile% %ManifestFileNameOnly%%date:~-4,4%%date:~-7,2%%date:~-10,2%%ManifestFileExt%