Új hozzászólás Aktív témák
-
fabko
tag
Mint kiderült, az indítópultból indul egy kötegfile, lefutott és akkor történt. Minden gépen használom, sosem okozott galibát. De még ha ez is törölte ki a dolgokat, az áthelyezésekért/átnevezésekért biztosan nem ez felel:
@echo off
echo.
echo TEMP fajlok torlese - Temporary files deletion
echo C:\WINDOWS\Temp
echo C:\Windows\Prefetch
echo C:\WINDOWS\SoftwareDistribution\Download
echo C:\Documents and Settings\%USERNAME%\Local Settings\Temp
echo C:\Documents and Settings\Rendszergazda\Local Settings\Temp
echo C:\Documents and Settings\Administrator\Local Settings\Temp
echo C:\Program Files\Adobe\Photoshop 7.0\Plug-Ins ... SilverFast
echo.
echo Tovabbi kiuritendo konyvtarak is megadhatok...
echo A nem torolheto fajlokat / konyvtarakat atugorja (hibauzenet lehetseges).
echo.
echo If file / directory deletion is not possible, those will be skipped.
echo Just add more directories, if you need.
echo.
echo
echo.
echo Torles... - File deletion...
echo.:0
pushd "C:\WINDOWS\Temp"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd:1
REM directory contains the actual hotfixes downloaded by WinUpdate.
pushd "C:\WINDOWS\SoftwareDistribution\Download"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd:2
pushd "C:\Documents and Settings\%USERNAME%\Local Settings\Temp"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd:3
if not exist "C:\Documents and Settings\Rendszergazda\Local Settings\Temp" goto 4
pushd "C:\Documents and Settings\Rendszergazda\Local Settings\Temp"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd:4
if not exist "C:\Documents and Settings\Administrator\Local Settings\Temp" goto 5
pushd "C:\Documents and Settings\Administrator\Local Settings\Temp"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd:5
pushd "C:\Windows\Prefetch"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd:6
if not exist "C:\Program Files\Adobe\Photoshop 7.0\Plug-Ins\Import-Export\SilverFast\Jobs" goto 7
pushd "C:\Program Files\Adobe\Photoshop 7.0\Plug-Ins\Import-Export\SilverFast\Jobs"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popdpushd "C:\Program Files\Adobe\Photoshop 7.0\Plug-Ins\Import-Export\SilverFast\Prefs"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popdpushd "C:\Program Files\Adobe\Photoshop 7.0\Plug-Ins\Import-Export\SilverFast\Previews"
del /q /f *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd:7
echo.
echo A c:\windows\$ntxxxx (hidden and compressed) konyvtarak is torolhetok
echo.
goto 8
If the system has been working properly after the updates, you can delete
the hot fix backup files as well as the add/remove registry entries by using
the utility at this page
http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm
this util deletes their "uninstallers", which are in the hidden and compressed directories.
(it is free, but does not allow you to select which updates to remove):8
:vege
@echo off
echo.
echo Vege...
echo.