Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I ran the 'delindex.bat' MS-DOS Batch File in MS-DOS on my computer. I had delted the 'INDEX.DAT' files previously by manual input. The problem is that my harddrive storage increased by around 10MB after the batch file was run, it also only took a few seconds to process. Any ideas for this reason, I'm mystified.

If you opened the batch file you'd see that it actually cleans out more than just the "INDEX.DAT" file. So don't panic.
I run that batch file in my autoexec along with another command which deletes the "win386.swp" file every time I turn my system on.Nothing like a system that's free and clear of garbage. Works for me :)
Hard lessons learnt are not easily forgotten.

Just Me,
Just started using Delindex here also, makes short work of many folders that I used to clean by hand now, and add's quite a few that I never bothered with. It is a nice program, and I DO like that it can be altered for non-standard Windoz installs.
What do you use to delete the swap file? do you add a line into the Delindex.bat or do you run it out of the autoexec.bat. . . Do you mind posting the code.
If this is inappropiate to answer in this topic, please direct it to my email addy.
Thanks
~OS~There are 2 theories to arguing with a woman...neither works. Will Rodgers

If the swapfile is in the original location;
if EXIST c:\windows\win386.swp del c:\windows\win386.swp
If it's been moved by altering the default settings;
if EXIST c:\win386.swp del c:\win386.swp
if EXIST d:\win386.swp del d:\win386.swp
if EXIST e:\win386.swp del e:\win386.swpand so on, depending on what drive you've put it on.
You don't really need the "if exist" statement either. (The above is from my purge.bat file.) All you need is;
del c:\win386.swp or
del d:\win386.swp or
del e:\win386.swp etc.It's a good day when you learn something

![]() |
Stuck on Windows Screen
|
Win98 to win98se
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |