Link to home
Create AccountLog in
Avatar of sebadlington
sebadlingtonFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Copying files from one location to another and date stamp.

Hi ,

I need a VBS script to run weekly to copy 5 files from one location to a new one.
The files will need to move from one directory (but also keep them in the old folder) to a new location.
It will then need to date stamp the files that it has moved.

thanks
Avatar of Bill Prew
Bill Prew

Are there other files in the same location as the 5 to be copied, or would you want all files in that folder copied?  If not, then would the program contain the specific filenames to be copied?

I assume you want the name in the destination folder to contain the current date, is that correct?  Do you have any specifics, or would something like this work:

oldname.txt  --->  YYYYMMDD-oldname.txt

~bp
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of sebadlington

ASKER

That worked fine Bill,


I changed it slightly in regards to the date stamping,

thanks again.
Welcome, glad that was helpful, thanks for the feedback.

~bp