having some trouble getting a concise answer on this:
I have a folder- C:/folder
with a file- sampledailyfile.txt
and another folder- C:/otherfolder
today's date is- 10/31/2006
I would like my batch (.bat) script to open "folder", take sampledailyfile.txt, rename it as 10302006.txt, and save it to "otherfolder"
if this occurs on a monday, the file name should use friday's date (e.g. on 10/30/2006 the file it finds should be named 10272006.txt