Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch script to move/delete files
Name: sreg73 Date: January 8, 2007 at 06:12:13 Pacific OS: Win 2003 Server CPU/Ram: 3.2 GHZ / 3.5 GB Product: HP DL 380
Comment:
I am trying to write a batch script that moves all files from one network folder to another network folder. On the destination folder, I need to delete any files older than 3 days from after the move occurred. So if they files were moved on 1/8/07, they need to be deleted after 1/11/07. Here's what I have so far:
Summary: I need to write a script that will delete files that are 7 days old, and i need this script to run once every 24 hours. Where should i start??? if you cant tell i am a newb ...
Summary: The following is a cmd command to move a file: sysopts="cmd(move \\server\WCM San Francisco\DEV\&F D:\Apps\dev\FileWatcherExtract\Outbound\&F) desktop(yes)" however the file is unable to move because ...
Summary: I have created a simple batch script that moves a file to a certain directory. When it moves the file it changes the name of the file to reflect the current date and time. This was working 100% until ...