Main Site Nav
Topics Topics Edit Profile Profile Help/Instructions Help    
Search Last 1|3|7 Days Search Search Tree View Tree View  

Auto exec HELL

Trish's Escape from Hardware Hell Help Board » Software » Windows 3.1, 95, 98 and ME » Auto exec HELL « Previous Next »

Author Message
Ian Ainsworth
Posted on Wednesday, February 27, 2002 - 10:51 am:   

For some reason my deleting of temp files is not working...any help?

Ian


@C:\PROGRA~1\NORTON~1\NAVDX.EXE /Startup
@ECHO OFF
SET BLASTER=A220 I7 D1 T2
SET SNDSCAPE=C:\WINDOWS
REM [Header]

REM [CD-ROM Drive]
REM C:\WINDOWS\COMMAND\MSCDEX /D:MSCD001

REM [Miscellaneous]

REM [Display]


mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850

PATH=C:\BC45\BIN;%PATH%

SET PATH=%PATH%;C:\PROGRA~1\BORLAND\CBUILD~1\BIN;C:\PROGRA~1\BORLAND\CBUILD~1\PROJECTS\BPL

deltree /y C:\windows\Tempor~1\*.*>NUL
deltree /y C:\windows\Cookies\*.*>NUL
deltree /y C:\windows\History\*.*>NUL
deltree /y C:\windows\ShellIconCache
deltree /y C:\windows\Applic~1\Micros~1\Office\Recent\*.*>NUL
deltree /y C:\windows\Temp\*.*>NUL
if exist del C:\Windows\ff*.tmp

PATH=%PATH%;
Ernest R. May Sr. (Mrmay)
Posted on Wednesday, March 27, 2002 - 3:24 pm:   

I use the following lines in a seperate Bat File from a shortcut on my Start Menu. That way I can delete everything before running Defrag or Installing a new program. On my other computer I even have all the Netscape User accounts cache folders listed.

IF EXIST C:\WINDOWS\COOKIES\*.* DELTREE /Y C:\WINDOWS\COOKIES\*.*
IF EXIST C:\WINDOWS\HISTORY\*.* DELTREE /Y C:\WINDOWS\HISTORY\*.*
IF EXIST C:\WINDOWS\RECENT\*.* DELTREE /Y C:\WINDOWS\RECENT\*.*
IF EXIST C:\WINDOWS\TEMP\*.* DELTREE /Y C:\WINDOWS\TEMP\*.*
IF EXIST C:\WINDOWS\Tempor~1\*.* DELTREE /Y C:\WINDOWS\Tempor~1\*.*

Add Your Message Here
Post:
Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page