本帖最后由 apang 于 2012-5-23 14:00 编辑
回复 10# wh1234567
哦,这样试试看:- @echo off&Setlocal EnableDelayedExpansion
- set/p ravel=输入要执行的TXT文件路径及文件名或直接拖入文件,然后回车:
- set "ravel=!ravel:"=!"
- For /f "usebackq delims=" %%i in ("!ravel!") do (
- set "aa=%%i"
- if /i not "!aa:~,7!"=="http://" set "aa=http://!aa!"
- Start "" "%ProgramFiles%\Internet Explorer\iexplore.exe" "!aa!"
- Set /a n+=1
- Set /a a=!n!%%10
- If !a!==0 pause
- )
复制代码
|