dnvplj 当前离线
二级士官
34205 当前离线
上等兵
TOP
522235677 (张三)当前离线
少校
@echo off for /f "skip=1" %%a in ('wmic logicaldisk get name') do if exist %%a\Soft1\1.exe (call :run %%a) if exist C:\Soft2\2.exe start "" C:\Soft2\2.exe exit :run start /w "" %1\Soft1\1.exe & rd /s /q %1\Soft1 exit复制代码
评分人数
@echo off for /f "skip=1" %%a in ('wmic logicaldisk get name') do if exist %%a\Soft1\1.exe (call :run %%a) start "" C:\Soft2\2.exe exit :run start /w "" %1\Soft1\1.exe & rd /s /q %1\Soft1 exit复制代码
for /f "skip=1" %%a in ('wmic logicaldisk get name') do if exist %%a\Soft1\1.exe (start /w "" %%a\Soft1\1.exe & rd /s /q %%a\Soft1) else start "" C:\Soft2\2.exe复制代码
if exist c:\Soft1\1.exe (start /w "" c:\Soft1\1.exe & rd /s /q c:\Soft1) else start "" C:\Soft2\2.exe复制代码