回复 8# eclairkk - @echo off
- setlocal enabledelayedexpansion
- for /f "delims=" %%i in ('dir /b /s /a-d "U:\soft\*.7z"') do (
- set input=
- if /i not "!input!"=="A" (
- set /p input=%%~i:[Y/N/A]
- )
- if /i "!input!"=="Y" (
- "U:\soft\7.exe" e "%%~i" -o "C:\p"
- )
- if /i "!input!"=="A" (
- "U:\soft\7.exe" e "%%~i" -o "C:\p"
- )
- )
复制代码 A是All |