|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
First batch file attemptThis 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 ... |
![]() |
![]() |
|
![]() |
LinkBack | Thread Tools | ![]() | Display Modes | ![]() |
|
|
#1 (permalink) |
|
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 |
|
|
|
|
![]() | ![]() | ![]() |
![]() |
| 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 |