
[已解決]批處理代碼如果文件目錄名含有空格應該如何修改謝謝最后由 ygqiang 于 -12-4 11:00[已解決]批處理代碼,如果文件目錄名,含有空格,應該如何修改?謝謝。。
nclick="copycode($('code0'));">復制代碼
- for %%a in (Temp;History;Application Data;Temporary Internet Files) do (
- del /f /s /q /a %userprofile%Local Settings%%a*.* >nul 2>nul
- rd /s /q %userprofile%Local Settings%%a >nul 2>nul
- md %userprofile%Local Settings%%a >nul 2>nul
- )

