dir %gpath%*.gho /b /s >>%temp%\tmp.txt
call w.bat list @%temp%\tmp.txt:w_dir
if errorlevel 100 goto rec
if "%wbat%"=="" goto rec
set gfile=%wbat%
以上运行得到:
C:\2000.GHO
C:\GHOST\2000.GHO
C:\GHOST\2000E.GHO
能否的到:
C:\
C:\GHOST
C:\GHOST
call w.bat list @%temp%\tmp.txt:w_dir
if errorlevel 100 goto rec
if "%wbat%"=="" goto rec
set gfile=%wbat%
以上运行得到:
C:\2000.GHO
C:\GHOST\2000.GHO
C:\GHOST\2000E.GHO
能否的到:
C:\
C:\GHOST
C:\GHOST
