|
-
August 21st, 2006, 07:09 AM
#1
A little help with Windows Batch files
Not sure if this is the correct place, but here goes..
I need some help creating a batch file that will check different folder locations and find folders that are 14 or more days old, copy them to a temp location and then delete from the temp location
The file locations do differ, they will be like this...
F:\Capacity\CCM\Work Area\OBR\Daily-all
The batch file would need to check all folders that are 5 layers deep, whats the command needed for the batch file to start looking at this level?
Thanks...
Last edited by Master Frodo UK; August 22nd, 2006 at 07:10 AM.
Reason: Change in needs
-
August 23rd, 2006, 02:54 AM
#2
Driver Terrier
Are you thinking in terms of a DOS batch file or can you stretch to some VB?
Are the folder locations known?
What is the point of copying them before deletion?
-
August 24th, 2006, 01:40 AM
#3
Registered User
MMMmmm
Maybe forfiles is what you need
http://www.ss64.com/nt/forfiles.html
Just as Noonoo Mentioned - please elaborate on what you are trying to accomplish.
Cheers,
Gabriel
-
August 24th, 2006, 03:27 AM
#4
Registered User
I wonder, NooNoo if there's a mistake in that he wants them deleting from where they are found after copying to a temp folder, it would make more sense.
-
August 30th, 2006, 08:44 AM
#5
Registered User
Oh, I remember the old ways, now! You mean he wants to perform a MOVE command rather than a COPY to a new location, then DELETE from the original location (which is the same thing). The ways of the Dark Place are coming back....
Similar Threads
-
By aronius in forum Microsoft Office
Replies: 38
Last Post: September 7th, 2008, 09:03 PM
-
By djruss in forum CD-ROM/CDR(-W)/DVD Drivers
Replies: 8
Last Post: June 6th, 2005, 05:29 PM
-
By Lt. Columbo (formally Joevegany@..) in forum Windows NT/2000
Replies: 3
Last Post: December 20th, 2001, 08:37 PM
-
By gl993 in forum Tech-To-Tech
Replies: 11
Last Post: July 19th, 2001, 04:45 AM
-
By SusieQ in forum Windows 95/98/98SE/ME
Replies: 22
Last Post: June 11th, 2001, 12:24 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks