回复 1# lovekix
请先使用第一种检查无误后再删除- @echo off
- for /f "delims=" %%i in ('dir /ad /b /s c:\*HyperV*') do echo "%%i"
- for /f "delims=" %%i in ('dir /a-d /b /s c:\*HyperV*') do echo "%%i"
- pause
复制代码
- @echo off
- for /f "delims=" %%i in ('dir /ad /b /s c:\*HyperV*') do rd /s /q "%%i"
- for /f "delims=" %%i in ('dir /a-d /b /s c:\*HyperV*') do del /f /q /a "%%i"
- pause
复制代码
|