引用:
作者heavywang
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"AutoDel"="cmd /c \"del /s/q c:\\temp \""
把上面的文字複製到記事本
裡面的 c:\\temp 就是資料夾名稱,改成你要刪的資料夾名稱。
然後用另存新檔,存成 "autodel.reg" (連雙引號都要打)
然後在檔案上面點兩下,按「是」再按「確定」就OK了。
不過要是資料夾是長檔名或是中文的話就比較麻煩。
|
謝謝你
不過不行 檔案沒自動刪除
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"AutoDel"="cmd /c \"del /s/q c:\\NewsDesk\PageTemp\""
我是存成以上的登入檔 檔名也存
"autodel.reg"
也執行按確定
還是沒刪除@@