C:\WINDOWS\system32\config\systemprofile\Local Settings\Temp C:\WINDOWS/TEMPC:\Documents and Settings\Administrator\TemplatesC:\Documents and Settings\Administrator\Local Settings\TempC:\Documents and Settings\Administrator\Local Settings\Temporary Internet File等...一些暫存檔或許有更多地方想製作成BAT檔....清除一些垃圾系統為:WINDOWS XP SP3外行人不會寫指令...求協助 http://ivip999.com 網友票選 8go ( 大師 3 級 ) 擅長領域: 作業系統 | 桌上型電腦 回答時間: 2013-04-08 20:19:10 [ 檢舉 ] 打開「記事本」,把下面的字複製進去,點「另存新檔」,把文件名定為「清除系統垃圾.bat」就完成,記住後副檔名一定要是.bat,好ok了!你的垃圾清除器就這樣製作成功了!雙擊它就能很快地清理垃圾文件,大約一分鐘不到。複製下面的字:=======================================================================@echooffecho正在清除系統垃圾文件,請稍等......del/f/s/q%systemdrive%\*.tmpdel/f/s/q%systemdrive%\*._mpdel/f/s/q%systemdrive%\*.logdel/f/s/q%systemdrive%\*.giddel/f/s/q%systemdrive%\*.chkdel/f/s/q%systemdrive%\*.olddel/f/s/q%systemdrive%\recycled\*.*del/f/s/q%windir%\*.bakdel/f/s/q%windir%\prefetch\*.*rd/s/q%windir%\temp&md%windir%\tempdel/f/q%userprofile%\cookies\*.*del/f/q%userprofile%\recent\*.*del/f/s/q"%userprofile%\LocalSettings\TemporaryInternetFiles\*.*"del/f/s/q"%userprofile%\LocalSettings\Temp\*.*"del/f/s/q"%userprofile%\recent\*.*"echo清除系統垃圾完成!echo.&pause 相關詞: local settings temp,local settings application data,local settings找不到,local settings 刪除,c:\documents and settings\administrator\local settings,local settings中毒,local settings是什麼,local settings資料夾,local settings temporary internet files,無法開啟local settingsLocal Settings,Documents and Settings,清除垃圾bat,WINDOWS/TEMP C,systemdrive,垃圾,quot,userprofile,Temporary Internet File,systemprofile [ 快速連結 ] 其它回答( 1 ) | 意見( 0 ) | 評論( 0 ) 發表你的評價 你的評價 加入追蹤 轉寄朋友 友善列印 看另一則問題 馬上按讚加入Yahoo!奇摩知識+粉絲團 多益700分線上測驗題庫 免費下載空姐英文教戰手冊 3分鐘立即測你的英文力! 相關問答 [ 作業系統 ] 請問Documents and Settings使用空間容量 [ 作業系統 ] local settings爆滿!好像是隱藏檔 [ 防毒防駭 ] Local Settings資料夾 開機後一直跑出來 [ 作業系統 ] 如何刪除TEMP資料匣裡的東東 #1 [ 其他 ] Local Settings中的Temp資料夾有用嗎? [ 作業系統 ] 電腦中的Local Settings ?? 更多 其他回答(1) 意見(0) 相關評論(0) 001 小李-Michael ( 實習生 1 級 ) 擅長領域: 作業系統 | 周邊設備 回答時間: 2013-04-09 12:32:33 [ 檢舉 ] 以下是小弟根據你的內容所寫的批次檔內容,參考看看:@echo offset systemp1="%windir%\system32\config\systemprofile\Local Settings\Temp"set systemp2="%windir%\Temp"set usertemp1="%userprofile%\Templates"set usertemp2="%userprofile%\Local Settings\Temp"set nettemp="%userprofile%\Local Settings\Temporary Internet File"for %%t in (systemp1 systemp2 usertemp1 usertemp2 nettemp) do del "%%t" /f /qecho on將以上內容複製到記事本,最後另存成.bat或.cmd即可。(.cmd也是批次檔,該種批次檔只能在NT系列的Windows系統中執行) 2013-04-09 12:39:01 補充 批次檔指令解析:@echo off:設定echo狀態為關閉,且該條指令不會在命令提示字元畫面顯示set...:設定五個環境變數,分別指定你所要清除的暫存檔的位置;這些環境變數只有在執行這個批次檔時才有作用 2013-04-09 12:39:09 補充 for %%t in (systemp1 systemp2 usertemp1 usertemp2 nettemp) do del "%%t" /f /q上面這條指令有錯誤,正確指令應改成如下:for %%t in (systemp1 systemp2 usertemp1 usertemp2 nettemp) do del "%%t\*.*" /s /f /q這段指令是將以上五個環境變數依序套入do後面的命令中的"%%t"變數中參數/s:刪除時一併將其下的子資料夾也刪除。參數/f:強制刪除指定的檔案參數/q:執行時不顯示訊息 1 目前沒有資料 發表意見
arrow
arrow
    全站熱搜

    關穎罩杯 發表在 痞客邦 留言(0) 人氣()