I need a help in copying a file and renaming at the destination. I am using vbscript.
Here is the situation.
I have a file test.dat generated on a daily basis and sitting in the 3 different directories and the directories are 20070901, 20070902 and 20070903.
I have to copy this file to a destination folder \dest and rename their as test1.csv, test2.csv and test3.csv.
How can I do this?
any help will be appreciated.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!