- @echo off
- for /f "skip=1 delims=" %%a in ('rasdial') do (
- ipconfig|findstr/i "%%a">nul&&(
- start "" "C:\Program Files\Tencent\TM2008\Bin\TM.exe"
- start "" "D:\bibidu\bibidu2.5.exe"
- start "" "D:\Fetion\Fetion.exe"
- )
- goto :next
- )
- :next
- pause
复制代码
- @echo off
- ping -n 2 www.baidu.com>nul&&(
- start "" "C:\Program Files\Tencent\TM2008\Bin\TM.exe"
- start "" "D:\bibidu\bibidu2.5.exe"
- start "" "D:\Fetion\Fetion.exe"
- )
- pause
复制代码
[ 本帖最后由 pusofalse 于 2008-8-25 23:10 编辑 ] |