Home
Remote Support
PC Security
Linux
Downloads
Downloads
delolderthan
You can use this utility program to delete files older than
a specified
number of days. I wrote it because the Windows 'del' command does not
have an option to do this. I did look at 'forfiles' in the Windows
resource kits but it is not simple to use.
It is important to note that this program really deletes the file(s).
They are NOT moved to the recycle bin and cannot be easily recovered
once they are deleted.
The usage is :
delolderthan fname days [/Q] [/L]
fname - file name which can include wildcards *
and ?.
days - is the number of days.
/Q
- Run quietly and do not prompt to delete each file.
/L
- List the older files only. Do not delete them.
Example: delolderthan *.dat 5
This command will delete all files ending in .dat in the
current directory/folder older than 5 days.
If you are planning to use wildcards and the /Q option then I strongly
recommend that you use the /L option first to see a list of files that
would be deleted.
Important
note: You use this free program at your own risk. While every care has
been taken to ensure it works correctly, the author will not be
responsible for any loss of data resulting from the use or
inability to use this program.
rendate.bat
This is a simple but useful batch file that renames files by
appending the current date to the end of the filename. For example, the
command "rendate backup.bkf" will rename the file backup.bkf to
backup_dd_mm_yyyy.bkf (where dd is the day, mm is the month and yyyy is
the year). It is probably most useful for managing backup or log files.
To make the command "available" from any directory you will need to
place it in one of the directories in the windows path such as
"C:\WINDOWS".
winmand
This is a basic program to generate and explore the mandelbrot set
which is a type of fractal. When you run the program it will display
the mandelbrot set and the structures that surround it. You can zoom in
by using the left mouse button to drag out a rectangle. If the
rectangle is not exactly where you want it then just draw a new one and
the old one will disappear. After drawing a rectangle around the area
you are interested in you need to move the mouse pointer inside the
rectangle and then click the right mouse button. The program will then
blow up the rectangle to fill the whole window.
You can go back to the previous zoom level by pressing the "b" key on
the keyboard.
One of the properties of fractals is that you can zoom in as far as you
want and there will allways be more detail. This program has a
limitation however and when you reach the limit of the accuracy, the
display will appear to be blocky.
Update 5/10/22 - Program is now about 10 to 20 times faster due to the
use of the lockbits function instead of SetPixel.
winmand source
Here is the C source code for the above program. It
contains a detailed description of how the mandelbrot set is generated.
It is good for anyone who is interested in learning how to write their
own program to display fractals.