erase after reboot

  • Thread starter Thread starter D
  • Start date Start date
D

D

Are there any freeware programs that will erase specific files locked by Windows
when rebooting?
 
Are there any freeware programs that will erase specific files locked by Windows
when rebooting?
You don't need a program. Put a few lines in autoexec.bat

___________________
Graeme Challinor
 
D said:
Are there any freeware programs that will erase specific files locked by Windows
when rebooting?
For Win98 add the following to the autoexec.bat file:

rem clean browser & temp files
cd c:\
attrib -r -s -h -a c:\windows\tempor~1\content.ie5\index.dat
attrib -r -s -h -a c:\windows\cookies\index.dat
attrib -r -s -h -a c:\windows\history\history.ie5\index.dat
del c:\windows\tempor~1\content.ie5\index.dat
del c:\windows\cookies\index.dat
del c:\windows\history\history.ie5\index.dat
deltree /y c:\windows\tempor~1\*.*
deltree /y c:\windows\cookies\*.*
deltree /y c:\windows\history\*.*
deltree /y c:\temp\*.*
deltree /y c:\windows\recent\*.*
deltree /y c:\windows\temp\*.*

Regards,
 
GeorgeD said:
For Win98 add the following to the autoexec.bat file:

rem clean browser & temp files
cd c:\
attrib -r -s -h -a c:\windows\tempor~1\content.ie5\index.dat
attrib -r -s -h -a c:\windows\cookies\index.dat
attrib -r -s -h -a c:\windows\history\history.ie5\index.dat
del c:\windows\tempor~1\content.ie5\index.dat
del c:\windows\cookies\index.dat
del c:\windows\history\history.ie5\index.dat
deltree /y c:\windows\tempor~1\*.*
deltree /y c:\windows\cookies\*.*
deltree /y c:\windows\history\*.*
deltree /y c:\temp\*.*
deltree /y c:\windows\recent\*.*
deltree /y c:\windows\temp\*.*

It's not the history files I want to delete.
 
D said:
Are there any freeware programs that will erase specific files locked by Windows
when rebooting?
Two possibilities:
BusyDelete BusyDelete will delete files even if they are busy. The
file(s) you specify will be marked for deletion. Then the next time you
reboot your system the Operating System will delete the file(s). For
example BDEL ATL.DLL will delete the file during the next reboot.

BusyReplace BusyReplace will replace a file with a new version without a
reboot, even if the file is locked! The new version of the file will be
copied immediately, but a reboot is still required to delete the old
version.

Both on my WinUtils1 page.....

Cheers!

Son Of Spy

--

Some You Won't Find Anywhere Else...

http://www.sover.net/~wysiwygx/index.html

. --- . . - - - - - - - - - - - -
/ SOS \ __ / Freeware - - - - - -
/ / \ ( ) / - - - - -
/ / / / / / / \/ \ - - - -
/ / / / / / / : : - - -
/ / / / / ' ' - -
/ / //..\\
=====UU==UU=====
'///||\\\'
' '' '
 
Are there any freeware programs that will erase specific files locked by Windows
when rebooting?
Copy Lock:

"CopyLock is a small program that allows replacing, moving, renaming or
deleting one or many files which are currently in use (e.g. system files
like comctl32.dll, or virus/trojan files.)

Add the files to update, click Apply, restart and that's it!

You can also list and edit the pending operations from the system after
you ran an installer or view the processes which use the locked files."

Yes. also delete files or folders.

http://noeld.com/programs.asp?cat=misc#CopyLock

http://noeld.com/download.htm

Regards

Wayne D
 
Back
Top