![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-09 02:11 |
47,811 topics / 349,895 posts / today 0 new / 48,253 members |
| DOS批处理 & 脚本技术(批处理室) » Question about BAT debugging errors~~~~ |
| Printable Version 801 / 4 |
| Floor1 minbad | Posted 2008-06-21 19:57 |
| 初级用户 Posts 13 Credits 39 | |
|
@echo on
:begin for /f "delims=" %%a in (1.txt) do start "" "%%a"&ping 127.1 /n 10 >nul&taskkill /im iexplore.exe /f>nul goto :begin This is a section that uses DOS to open an IE window, keep it open for 10 seconds, then close the IE window. Then open a new window again. Still wait 10 seconds. Where is the error? It keeps saying it won't work. Please help debug where the problem is. A small note: you need to create a 1.txt text document in the same directory as this BAT, and inside it save one URL per line, with the URL starting like http://www. |
|
| Floor2 HAT | Posted 2008-06-21 20:33 |
| 版主 Posts 5,017 Credits 9,023 | |
|
Post a screenshot of the “it won't work” prompt so we can take a look
|
|
| Floor3 minbad | Posted 2008-06-21 20:45 |
| 初级用户 Posts 13 Credits 39 | |
![]() The picture above appears. |
|
| Floor4 minbad | Posted 2008-06-21 21:28 |
| 初级用户 Posts 13 Credits 39 | |
|
Solved. There was an extra quotation mark.
|
|
| Floor5 mbllokmb | Posted 2008-06-22 07:29 |
| 初级用户 Posts 39 Credits 78 | |
|
Are you refreshing page views???
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |