請問一下,如下是小弟寫的語法,但用的指令太多,是否可以幫我簡化一下!
一、列如如網址後面的documentId=0001~documentId=100000,可否需要簡化?
二、每個跳出一個網頁時,是否2秒才跳入下個網址?
三、因這個網址需要在帳號及密碼後才可以進入網頁,那若登出,只要登入後,把沒有完整跑出的網頁,自動重新整理網頁!
四、執行批次檔的話,是否可以隱藏起來?(意思是說有在執行,看不見ie瀏覽器)
五、執行完成後或是關閉此批次檔的後,此批次檔可否自動刪除批次檔檔案!
@echo off
REM 開啟特定網頁
start "C:\Program Files\Internet Explorer\iexplore.exe" "http://xxx.xxx.xxx.gov.tw/xxx/xxxx/xxxxxxx.aspx?documentId=0001"
start "C:\Program Files\Internet Explorer\iexplore.exe" "http://xxx.xxx.xxx.gov.tw/xxx/xxxx/xxxxxxx.aspx?documentId=0002"
start "C:\Program Files\Internet Explorer\iexplore.exe" "http://xxx.xxx.xxx.gov.tw/xxx/xxxx/xxxxxxx.aspx?documentId=0003"
start "C:\Program Files\Internet Explorer\iexplore.exe" "http://xxx.xxx.xxx.gov.tw/xxx/xxxx/xxxxxxx.aspx?documentId=0004"
start "C:\Program Files\Internet Explorer\iexplore.exe" "http://xxx.xxx.xxx.gov.tw/xxx/xxxx/xxxxxxx.aspx?documentId=0005"
start "C:\Program Files\Internet Explorer\iexplore.exe" "http://xxx.xxx.xxx.gov.tw/xxx/xxxx/xxxxxxx.aspx?documentId=0006"
start "C:\Program Files\Internet Explorer\iexplore.exe" "http://xxx.xxx.xxx.gov.tw/xxx/xxxx/xxxxxxx.aspx?documentId=0007"
REM 等八秒
ping 127.0.0.1 -n 5000 -w 1000 > nul
REM 關掉所有 IE
TASKKILL /F /IM iexplore.exe
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
Scottish readers: Undecided about the referendum? Please read How the media shafted the people of Scotland and Scottish Independence, Power And Propaganda.
留言列表