It appears you have not yet registered with our community. To register please click here...


First batch file attempt

This is a discussion on First batch file attempt within the PHP & MySQL forums. Topic: I want to write a batch file that will move files of a certain extension that are older than 30 ...


Reply
 
Postbit Seperator LinkBack Thread Tools Postbit Seperator Display Modes
Old 02-29-2008, 09:06 AM   #1 (permalink)
 
Status: Junior Member
Join Date: Jan 2008
Posts: 6
Trader Rating: (0)
forward is on a distinguished road
TD$: 70.00
Donate
Smile First batch file attempt
I want to write a batch file that will move files of a certain extension that are older than 30 days to an archive directory. For example, move all .txt files in C:\someFolder\otherFolder to D:\anotherFolder\archive that were created 30 or more days ago.

How can I get the current date to compare to the date the file was created?
How can I specify that only a certain type of file be moved?

Is this type of thing possible in a batch file or should I use something else?

Thanks for any help.
_________________
match 3 games georgia mortgage
forward is offline   Reply With Quote
Table Bottom LeftTable BottomTable Bottom Right
Reply


Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Application: Batch Data Processing Tony0930 Design Offers & Requests 0 10-22-2008 01:39 PM
How Often do you Update/Upload your Sitemap File? adah101 Promotion Techniques 0 07-05-2008 08:07 PM
Including header file using HTML masjana.liza HTML & CSS 3 06-16-2008 07:19 AM
Automated file transfer apsar General Discussion 1 01-17-2008 09:25 AM
Intro. to H.T.M.L. snowman Coding Tutorials 0 12-09-2006 07:02 PM


Home | Site Map | Contact | Archive | Top

 

Copyright © 2007 - 2010 iTalkWebs Network

Search Engine Optimization by vBSEO 3.1.0