@ECHO OFF
setlocal enabledelayedexpansion
for %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
if exist %%i:\tool\yong\w64\yong.exe start %%i:\tool\yong\w64\yong.exe
if exist %%i:\tool\sh.exe start %%i:\tool\sh.exe
)
start winxshell.exe -code Desktop:Refresh()
exit
是这样么?
@ECHO OFF
setlocal enabledelayedexpansion
for %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
if exist %%i:\tool\yong\w64\yong.exe start %%i:\tool\yong\w64\yong.exe
if exist %%i:\tool\sh.exe start %%i:\tool\sh.exe
)
choice /t 60 /d y /n >nul
start winxshell.exe -code Desktop:Refresh()
exit
这样也不行。
如何判断sh.exe加载完毕?