Navigation
Popular content
Active forum topics
|
DelOld—delete old filesTable of contents for this article General informationDelOld is a program that deletes files that are older than a specified number of days. DelOld is called from a command line and requires at least two arguments, the folder and possibly file name (can contain the wildcard characters * and ?) and the minimum age of the files to be deleted. DelOld is freeware. DelOld does not require installation. Just copy the executable program file onto your hard disk. See also Microsoft's addition to some resource kits and to Windows Server 2003 of a similar command line tool: ForFiles. Read a description with sample batch files here. Version 2 instructions for useDelOld 2 has been rewritten in Java and has improved window display behavior and should run on all platforms that support Java. It requires the Java SE Runtime Environment (JRE) version 5 or higher, which you have to download and install. The Java version consists only of one executable Java file: DelOld.jar If there experience any problems with the DelOld.jar file on Windows, which happens only if the Java SE Runtime Environment is damaged or not installed, you can download the somewhat bigger DelOld.exe instead. This variant will direct you to the Java SE Runtime Environment download if it is not already installed. In the command line you have to enter at least two parameters:
Examples for proper DelOld calls:
You can call the program from a Program Manager icon. In this case put the complete call line including the two parameters into the call command line. You can also put the icon into your Startup group for automatic operation. In Windows NT, 2000, and XP you can start it from a batch file. Examples:
DelOld will display what it has done. It will stay on screen briefly after finishing its work plus some more seconds for each file actually deleted, so you can quickly get a glimpse of what it has done. Then it will close itself automatically. If you want to stop it before it deletes any files, click on the [Pause] button. You can then either click on the [Continue] button to have the files deleted or on the [Abort] button to abort the program and keep the files. Note that you have only between 4 and 8 seconds, depending on the number of files (1 file: 4 seconds, 9 or more files: 8 seconds). If the same file appears in more than one folder argument, it will be listed multiple times, but it will still be deleted without error message. If you cannot start a JAR file directly in spite of Java version 5 or higher being installed, then the Java installation is damaged. You have the following ways to proceed.
Version 1 instructions for useDelOld will not automatically operate on subdirectories, only on the directory you specify. But of course you can call DelOld several times with several directories, file names and file ages. DelOld 1 requires MSVBVM60.DLL (1.34 MB) however, which you can download from the World Wide Web after using any of the search engines for the file name, for example through Alta Vista or any other good Web search system. In Windows 95 copy MSVBVM60.DLL into the SYSTEM subdirectory. In Windows NT, 2000, and XP copy it into the SYSTEM32 subdirectory. The distribution packet for DelOld 1, deloldx.exe, contains the following files.
If you want to modify the program, have a look at DelOld.vbp first. It's a text file. Some paths might be different on your computer. In the command line you have to enter two parameters:
Examples for proper DELOLD calls:
You can call the program from a Program Manager icon. In this case put the complete call line including the two parameters into the call command line. You can also put the icon into your Startup group for automatic operation. In newer versions of Windows you can start it from a batch file. The following examples presume that the program is somewhere in the operating system's search path. If this is not the case, you have to prefix DelOld with its path:
DelOld will display what it has done. It will stay on screen briefly after finishing its work plus some more seconds for each file actually deleted, so you can quickly get a glimpse of what it has done. Then it will close itself automatically. Downloads |
User login
Donations If this web site has helped you, please help us too! Recent blog posts
Windows news ticker
Who's new
Who's online
There are currently 0 users and 4 guests online.
hits since 2010-03-12 · Statistics |
1 day 14 hours ago
3 days 13 hours ago
4 days 1 hour ago
4 days 2 hours ago
4 days 14 hours ago
4 days 17 hours ago
5 days 8 hours ago
5 days 9 hours ago
5 days 15 hours ago
5 days 18 hours ago