A
aurgathor
I have a dual boot PC (DOS & W2K -- W98 wouldn't run)
and I wrote the below .bat file to get rid of the crap that seems
to accumulate over time. The very first run yielded over 250 meg
on my W2K boot drive (FAT32), but I'm still looking for some
ideas to enhance it, either add some more deletable locations,
or just make the program a little smarter. This program meant
to be run from DOS on a FAT32 drive containing the W2K install.
TIA
echo Cleaning crap...
cd\
cd Docume~1
cd Admini~1
cd Locals~1
cd Temp
echo y | del *.*
deltree /y *.*
cd ..
cd Tempor~1
echo y | del *.*
cd Content.IE5
deltree /Y *.*
cd\
cd Docume~1
cd User_1
cd Locals~1
cd Temp
echo y | del *.*
deltree /y *.*
cd ..
cd Tempor~1
echo y | del *.*
cd Content.IE5
deltree /Y *.*
cd\
cd Docume~1
cd Defaul~1
cd Locals~1
cd Temp
echo y | del *.*
deltree /y *.*
cd ..
cd Tempor~1
echo y | del *.*
cd Content.IE5
deltree /Y *.*
cd\
cd Winnt
cd Temp
echo y | del *.*
deltree /y *.*
echo done.
and I wrote the below .bat file to get rid of the crap that seems
to accumulate over time. The very first run yielded over 250 meg
on my W2K boot drive (FAT32), but I'm still looking for some
ideas to enhance it, either add some more deletable locations,
or just make the program a little smarter. This program meant
to be run from DOS on a FAT32 drive containing the W2K install.
TIA
echo Cleaning crap...
cd\
cd Docume~1
cd Admini~1
cd Locals~1
cd Temp
echo y | del *.*
deltree /y *.*
cd ..
cd Tempor~1
echo y | del *.*
cd Content.IE5
deltree /Y *.*
cd\
cd Docume~1
cd User_1
cd Locals~1
cd Temp
echo y | del *.*
deltree /y *.*
cd ..
cd Tempor~1
echo y | del *.*
cd Content.IE5
deltree /Y *.*
cd\
cd Docume~1
cd Defaul~1
cd Locals~1
cd Temp
echo y | del *.*
deltree /y *.*
cd ..
cd Tempor~1
echo y | del *.*
cd Content.IE5
deltree /Y *.*
cd\
cd Winnt
cd Temp
echo y | del *.*
deltree /y *.*
echo done.