VB script to put time and date on

March 16, 2009 at 16:55:04
Specs: Windows XP, Server 2003
I am looking for a vb script to put a time and date stamp on a folder I am moving data to. I want it to create the folder with a time and date stamp and then copy the file to the folder. Or folder and subsequent subfolder.

See More: VB script to put time and date on

Report •


#1
March 17, 2009 at 09:48:28
So make a folder with the current date/time?
CreateObject("Scripting.FileSystemObject").CreateFolder Replace(Replace(Now, "/", "."), ":", ".")


Report •

#2
March 17, 2009 at 10:41:11
Yes. I need to create this folder on a daily basis as I am moving files everyday. So I would like it to create the folder everyday with that days date in case I need to go back and search. I most of the script done. I am currently just coping to one big folder, but I want sub folders underneath that one.

Report •

Related Solutions


Ask Question