Summary: Greetings All! The following MS-DOS code will delete any specified files, in specified location, and older then a specified date. "Delete files by ol...
Summary: I have been using a batch file to delete .zip files in a directory that are older than 2 days old. It has been working very well. However, I would lik...
Summary: Hi People, Please help me with the DOS code to delete files older than 15 days. i will schedule the batch file then. We are doing this to delete older...
Summary: I have share on a server in which i have files being saved to. I need to purge this folder every so often of files that are no older then 2 days. I ha...
Summary: Relates to an ealier post with title: Batch File deleting files by date? HAD TO CHANGE FOLLOWING TO GET WORKING 1. In Line: for /f "tokens=2" %%i in (...
Summary: I may be overstepping as a new guy, but take a look at my posting. http://www.computing.net/programmin... This is MS-DOS code for deleting files by ol...
Summary: I had found a script, I believe from Chrispie and Dtech10, which was working fine but not anymore. It would delete files older than X days old. We did...
Summary: Hi Where is this section of code. rem Get Date Number : DayNo %1 for /f "tokens=1-3 delims=/- " %%a in ("%1") do ( set /a mm=%%a set /a dd=%%b set /a ...
Summary: Hi Guys I have a batch script which creates directories and then copy my files to it every day. How can I adjust this script to delete the older than ...
Summary: 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 delet...
Summary: I'm trying to create a batch file that will delete a files by a certain name. The files will all be similar to this. a20081010.txt or a20081011.txt o...
Summary: Hello, Need a simple batch file that will do the following: 1. Check to see if there are folders older then X days in a given path. 2. If there are...
Summary: I'm needing help with a batch file to check the date of files in a particular directory and delete the files older than 90 days. Is there a way to do ...
Summary: Hi, I am new to batch scripting and need some help from all your genius' out there. I want to write a script that will delete files older than 14 days...
Summary: Hi All, I am writing a batch script to zip the files which are older than 15 days. I can loop through the files inside a folderm but I am not sure how...
Summary: Anyone knows how to create a batch file to clean up a folder based on a certain number of days? I want to delete files older than 7 days but I don't k...
Summary: Hi , I have to delete files from a network drive..(which is accessible from my system)via a batch script, that are older than 3 days...the file name i...
Summary: yes delete files older than 30 days Dim fso Dim oFolder Dim oFile Set fso = createobject("Scripting.FileSystemObject") Set oFolder = fso.GetFold...
Summary: Guys, Thanks for your help. I should probably explain my self a little better. We have a script that deletes files older than 30 days on one of our d...
Summary: is it possible to track file save date? the date when file was saved in a folder and subfolder. I want to delete files saved older than 30 days, refer...
Summary: You CAN do it with a VB Script. Just copy and past into a text doc and name witht he vbs extension. You will just need to modify the SOURCE and TARGET...
Summary: I need to delete files from the C:\Company\Temp directory that are older than 120 days. I have to perform this on about 125 PCs. The VBScript keeps bo...
Summary: I need to create a batch file that will compare files and folders on a server to their counter parts on a workstation and delete anything older than a...
Summary: Hi I am trying to get a batch file to delete files which has dates older than 7 days so far I have @ECHO OFF CLS FOR /R C:\User_share %%FILE IN (*.*) ...