AMINET SELECT



aminet.png

http://de.aminet.net


ClearRAM V1.01



Editors Note

If you use your Amiga for internet work (Email-Browsing etc.) then the chances are ..That like me, You continually make use of the RAM Disk. The Amiga RAM disk is excellent for saving Emails-Attachments ...Downloading Files ...Music/Pictures etc.

In fact RAM is vital in my everyday internet operation ...BUT a slight problem ...The RAM disk can very quickly get cluttered (Try downloading a few files from the Aminet ...then Unarchiving them to see exactly what I'm talking about).

OK ...If you use Opus as a workbench Replacement, The problem is easily fixed ...Click on the unwanted files and select delete. However if you do not Use Opus as a Replacement ...We have the Answer ....ClearRAM.


ClearRAM V1.01

(c) 1994 Laserdance Productions / TSB


Introduction


You know the problem : Your RAM: disk is full of files and thousands of subdirectories, and you want to delete them. But how ? Issuing 'Delete RAM:#? All' won't help, because that will corrupt your clipboard and the temporary preferences in ENV:. So what do you do ? You start your directory-tool and click all files and directories manually, and press 'delete' ? Sound too complicated ? Too familiar ? Well, here is your solution : ClearRAM, it will wipe all files and directories from RAM: (regardless of their protection state), but leave disk.info, ENV, T, Clipboards intact.


Installation


This is very simple. Just copy the program into your C: directory (or anywhere else). It doesn't require any additional libraries (it should work fine with 1.3 anyway!)


Usage


Usage of the the program is quite easy : If you launch the program from the Shell, you may issue several options on the commandline. The template is :

ClearRAM VERBOSE/S QUIET/S CAREPROTECT/S

VERBOSE: If you specify this option, the progress of deletion will be displayed, i.e. every file/directory name will be displayed.

QUIET: This option can be used to tell the program to produce no output, even if an error occurs.

CAREPROTECT: Normally an unset 'D' flag, protecting a file from deletion would be ignored by ClearRAM. If you specify this option, ClearRAM will take care of this flag, and leave files with an unset 'D' flag intact (but will give a warning [not in quiet mode]).

ClearRAM can also be started from Workbench (well, if you draw an Icon for it :), but it won't recognise any options, even if defined as a ToolType.


Bugs


Well, there is no known bug, except the fact that there is no stack checking performed. So if you have 10 subdirectories or more you better increase the stack a little bit! Unfortunatly, I haven't got an ability to check this out with a stack monitor, but examination of the source code estimates a rouch approximation of required stack by 420 bytes/directory.


Disclaimer


The program is distributed 'as is' and no warranty for the quality or performance of the program is given. You use the program on your own risk. If this software blows up your cat, I can't be made responsible.

The program and source code is GiftWare, and may be freely distributed, as long as no charge, execept for some reasonable copyfees is taken. If you use the program reguarly you are expected to send some kind of gift to the author (e.g. floppy- or harddisks, CDs, money, booze, some Star Trek stuff, or a nice postcard of your cat (?)) The sources and executeables are still Copyright © 1994 Laserdance Productions. You are free to copy and modify this stuff for your needs, but _only_ the _unchanged_ original release archive may be distributed.


Laserdance Productions
c/o Kai Haseloh
Dorotheenstrasse 7/585
30419 Hannover



Note:

To download ClearRAM click on the Aminet link at the top of this page and type ClearRAM into the search engine.


Previous