Re: Deleting a specific file when W7 is shut down
Was just about to suggest similar: (save in a bat file and create link to it on your desktop)
del %SystemRoot%\System32\fntcache.dat
%SystemRoot%\System32\shutdown.exe /s /t 0 /f
also this option for a restart:
del %SystemRoot%\System32\fntcache.dat
"%SystemRoot%\System32\shutdown.exe " /r /t 0 /f
or this one to log off:
del %SystemRoot%\System32\fntcache.dat
%SystemRoot%\System32\shutdown.exe /l
Last edited by patcooke; 10-13-2012 at 06:07 AM.
Operating System Windows 7 64 Ultimate 64 bit
Computer Type lappy
OS Service Pack SP1
Internet Explorer Version Firefox!
CPU Type and Speed Dual T3400 2.16GHz
System Memory Type 4GB
Anti-virus Software MSSE
Computer Skill Level Certified Professional
Windows Experience Index 4.3
Favorite Application Hex Editor