DelOld Documentation
====================

Version 1, 32 bit, written in Visual Basic

Version 2, 32 bit, written in Java

For precise version information, go into Explorer or File Manager
and look at the Program version property. You should see something
like: 1.00.0015 or 2.00

DelOld is Freeware and in the Public Domain. I wrote it to clear out 
old files from my TEMP directory automatically.

DelOld 1 is a Visual Basic 6.0 32 bit native Intel code program.

DelOld 2 is a Java (Visual J++ 6.0) 32 bit native Intel code program.

The distribution packet deloldx.exe contains all of the following files.

  DelOld.vbp (Visual Basic source)
  DelOld.frm (Visual Basic source)
  DelOld.frx (Visual Basic source)
  DelOld.bas (Visual Basic source)
  DelOld.txt (these instructions for use)
  DelOld.exe (executable program)

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.

The distribution packet delold2.exe contains DelOld.exe and DelOld.txt.


Instructions for Use
====================

DelOld 1 requires MSVBVM60.DLL. Check whether you have this file 
already. If not, download it and put it into your Windows 95 SYSTEM  
or Windows NT SYSTEM32 directory.

DelOld 2 requires the Java virtual machine and the WFC extensions.
You usually have these if you have a recent version of Internet
Explorer installed.

DelOld is a very simple program. It has hardly any user interface.
Its purpose is to DELete OLD files.

DelOld 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.

In the command line you have to enter two parameters:

1. The file path in which old files are to be deleted, including the 
file name or file name wildcards complete with drive letter.
Example: C:\TEMP\*.*

If the path contains spaces, enclose it in quotes.
Example: "C:\Documents and Settings\All Users\Application Data\X\*.*"

2. The number of days before a file will be deleted.

Examples for proper DELOLD calls:

  DELOLD.EXE C:\TEMP\*.* 60

  DELOLD C:\TEMP\*.TMP 1

  DELOLD C:\TEMP\~*.* 2

  DELOLD D:\USERS\MIKE\GARBAGE\*.* 33

  DELOLD "C:\TEMP\User Logs\*.log" 8

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 you can start it from a batch file. Example:

  start /low /wait DelOld C:\TEMP\*.TMP 1
  start /low /wait DelOld C:\TEMP\~*.* 1
  start /low /wait DelOld C:\TEMP\*.* 66
  start /low /wait DelOld "C:\TEMP\User Logs\*.log" 8

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.

Hans-Georg Michna


