copy files

Tech-Archive recommends: Fix windows errors by optimizing your registry



I need a script that will copy files from 2 folders that where created the day before and copy them to a single folder.

Example:

D:\tracker
subfolder called IN
subfolder called Archive

I need to copy everything from IN and Archive to a single Network share \\Backup\archive. I want to schedule this script after midnight and then only grab the files from those folders that where created the previous day. I would also like to log those files copied and have the ability to delete them after a successful copy to the archive folder within the script.


Thanks

.



Relevant Pages

  • Re: Path not found error using FSO GetFolder
    ... Sub ShowSubFolders ... For Each Subfolder in Folder.SubFolders 'Path Not Found error on this ... This is just a test script for part of another project where I need to list ... files in folders, however, I need to ignore folders that can't be accessed ...
    (microsoft.public.scripting.vbscript)
  • Re: Path not found error using FSO GetFolder
    ... Sub ShowSubFolders ... For Each Subfolder in Folder.SubFolders 'Path Not Found error on ... This is just a test script for part of another project where I need to ... list files in folders, however, I need to ignore folders that can't be ...
    (microsoft.public.scripting.vbscript)
  • Re: Any Scripts to Export / Archive Local Mail Folders?
    ... Entourage local mail folders AND maintain subfolder integrity, ... The script will fail on a folder with corruption. ...
    (microsoft.public.mac.office.entourage)
  • folder permissions
    ... It's that I had to chmod 777 two folders to get my scripts do what I wanted ... I have a script running on my ISP's unix-apache -server. ... and create a text-file in a subfolder 'txt' from it. ...
    (comp.lang.php)
  • Re: copy files
    ... day before and copy them to a single folder. ... subfolder called Archive ... I want to schedule this script after midnight and then ...
    (microsoft.public.windows.server.scripting)