Computing.Net > Forums > Windows XP > Delete older files with batch file

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Delete older files with batch file

Reply to Message Icon

Original Message
Name: Sachin V
Date: March 16, 2007 at 12:12:32 Pacific
Subject: Delete older files with batch file
OS: Win XP
CPU/Ram: P 4\ 1GB
Manufacturer/Model: HP
Comment:

I wanted to write 2 batch files which can delete older files by date and another one which deletes by the size of the file.
Help needed.


Report Offensive Message For Removal


Response Number 1
Name: jefro
Date: March 16, 2007 at 14:51:28 Pacific
Reply:

you make the script identify the files by string. Then make the it copy to a file. Then take the file data and run command. I'm sure you can do that some few thousand ways.

I read it wrong and answer it wrong too. So get off my case you goober.


Report Offensive Follow Up For Removal

Response Number 2
Name: Sachin V
Date: March 18, 2007 at 04:25:33 Pacific
Reply:

If anybody provide syntax, I not well in
DOS.
Thanks


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home



Results for: Delete older files with batch file

Delete Registry Values With Batch
    Summary: well i just found this site on google but i want to know the commands to delete a specified Registry key(s) with a batch file and targeting regedit. I seen this in another question but he wanted a sea...
www.computing.net/answers/windows-xp/delete-registry-values-with-batch/111123.html

Change prompt with batch file
    Summary: im using the rxvt shell that comes with cygwin, the default prompt is shell-3.0$ and i would like to change it to #. i have tried a batch file like this: @ECHO OFF rxvt.exe && export PS1="#" and like ...
www.computing.net/answers/windows-xp/change-prompt-with-batch-file/147732.html

amending ini with batch file
    Summary: Good Morning, I'm new to this so please bare with me... I have an ini file I would like to edit with a batch file. Is this possible? I would like to amend line 5 and 6 from... Directory=c:\notes\data ...
www.computing.net/answers/windows-xp/amending-ini-with-batch-file/165397.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History






Data Recovery Software