I am need of a VB Script...
1. I have folder say - "C:\Users\Name\Desktop\my_file\" have some more folders inside e.g. - AAAA, BBBB, XXXX, YYYY, ZZZZ etc.
2. In folder AAAA there are many files say: app20111212.log, FB20111213.log, FB20111214.txt, app20111212.txt.... etc.
3. I would like to transfer all the files which has name starting with app* and has extension txt and are older than 30 days.
4. In new Folder say - "C:\Users\Name\Desktop\my_file\Archive_Log\
5. The files in Folder Archive_Log should be zipped in a single file as AAAA_APP_TXT_20111221.ZIP
6. And the the name of files should be written in new log file in Archive_Log say - AAAA_20111221.log.
7. Any thing in Folder Archive_Log should be deleted if it is older than 30 days.
I would like to use the same script with all the files BBBB, XXXX, YYYYY with different file name & ext.
Attached is the working working version of your similar script and need some modification.
--
http://www.code-bytes.com/Automate_WSH_VBScript_To_Delete_Or_Archive_Files.html thank you...
http://www.code-bytes.com..._Or_Archive_Files.html