
CODE: [Copy to clipboard]不是很满意,请高手路过斧正改良,不甚感激!@echo off
echo 正在扫描硬盘文件,请稍候.......
@echo TempMode >%temp%\short
@echo Silent=1 >>%temp%\short
@echo Overwrite=2 >>%temp%\short
for /f "delims=\ tokens=1,2,3,4" %%a in ('dir /b /s D:\diskgame\*.exe') do Echo shortcut=D,"%%a\%%b\%%c\%%~nxd","","","%%c">>%temp%\short
C:\Progra~1\winrar\rar.exe a -sfx c:\short.exe nul -z <%temp%\short
start C:\short.exe
exit
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |