Hi,
I have a script that zips up some file, what I would like to do is add the current date and time to the end of the file and move it, any tips?.
Regards,
John
file rename
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7391
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Year>yyyy
Month>mm
Day>dd
Let>new_file=c:\somewhere\myzip_%yyyy%%mm%%dd%.zip
RenameFile>source_file,new_file
Month>mm
Day>dd
Let>new_file=c:\somewhere\myzip_%yyyy%%mm%%dd%.zip
RenameFile>source_file,new_file
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Pro Scripter
- Posts: 50
- Joined: Fri Mar 23, 2007 10:14 am