回复 lovekix
请先使用第一种检查无误后再删除
不知道是谁 发表于 2020-7-11 22:42 - @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
复制代码 谢谢 |