0

Hiya made a simple Youtube autoviewer using notepad*BATCH FILE but i want to have user input--> so the user can change the link before pressing start

And i wont it to stop script after its LOOPS 250 times.

:top
start /min iexplore.exe http://www.youtube.com/watch?v=u5DzRTyhs_0
@echo "waiting"
ping -n 5 127.0.0.1>nul
@echo "done waiting"
TASKKILL /F /IM "iexplore.exe"
ipconfig /release /renew
GOTO top

So USER CAN CHANGE URL LINK THEN PRESS START.

Many thks

4

3 回答 3

1

在“start /min iexplore.exe http://www.youtube.com/watch?v=u5DzRTyhs_0 ”之后添加: set /a number=%number% + 1 if "%number%"=="250" (goto whereever) if not "%number%"=="250" (goto whereever)

于 2014-06-12T06:10:16.540 回答
0

http://www.mpgh.net/forum/showthread.php?t=754730 <-- 工作EXE版本,finlayy完成编码!

于 2014-06-12T16:07:09.963 回答
-1
for /L %a in (1,1,10) do @(echo run %a&batch.exe)

http://www.pcreview.co.uk/forums/loop-example-cmd-window-t1468124.html

于 2013-07-31T15:08:34.750 回答