綁定帳號登入

Android 台灣中文網

打印 上一主題 下一主題

[求助] 會DOS指令的大大麻煩看指令是錯在哪裡呢?(多帳號輪流開)

 關閉 [複製連結] 查看: 990|回覆: 12|好評: 0
跳轉到指定樓層
樓主
tonyjj43 | 收聽TA | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
發表於 2016-8-16 23:42

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
會DOS指令的大大麻煩看第二段指令是錯在哪裡呢?(系統找不到指定的路徑)請幫忙一下,看是該怎麼下指令!!(先感謝囉!!)也給其他需要的人使用!!

問題:第二,三個帳號路徑錯誤(紅色字體部分),該指令要怎麼下好呢?


檔案放在D:Necrobot 0.8.7sport6666(第一個帳號)

:start
timeout /t 10
start ./NecroBot.exe
start ./NecroBot.GUI.exe
timeout /t 1800
taskkill /im:necrobot* /f
:start
timeout /t 600
cd D:Necrobot 0.8.7sport7777Necrobot  //(第二個帳號)
start ./NecroBot.exe
start ./NecroBot.GUI.exe
timeout /t 1800
taskkill /im:necrobot* /f
:start
timeout /t 600
cd D:Necrobot 0.8.7sport8888Necrobot //(第三個帳號)
start ./NecroBot.exe
start ./NecroBot.GUI.exe
timeout /t 1800
taskkill /im:necrobot* /f
:start
timeout /t 600

goto start


「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)
收藏收藏1 分享分享 分享專題
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

沙發
bullbat | 收聽TA | 只看該作者
發表於 2016-8-17 00:00
你沒有回到上一個目錄,一直停在第一個目錄裡怎找的到下一個的資料夾。
回上一目錄
CD..
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

板凳
 樓主| tonyjj43 | 收聽TA | 只看該作者
發表於 2016-8-17 00:06
bullbat 發表於 2016-8-17 00:00
你沒有回到上一個目錄,一直停在第一個目錄裡怎找的到下一個的資料夾。
回上一目錄
CD.. ...

cd..也寫過,但是還是顯示路徑錯誤!
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

地板
fahntian | 收聽TA | 只看該作者
發表於 2016-8-17 00:11
DOS下路徑不要有空格,要有空格請加雙引號
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

5
bullbat | 收聽TA | 只看該作者
發表於 2016-8-17 00:21
我覺得是你的資料夾的位置有問題,或 CD.. 放錯位置,我的建議把每個資料夾的NecroBot.exe做成捷徑,然後全部捷徑跟批次檔放在一起,批次檔裡直接指向捷徑,就不用管資料夾位置。不知道這樣你聽得懂嗎?
提醒,例"捷徑1",在批次檔裡要寫成"捷徑1.lnk"才會執行。
我也是用了多隻循環,才想到用捷徑的方式,不然打位置都打到昏了。

點評

3Q  發表於 2016-8-17 00:35

評分

參與人數 1碎鑽 +1 幫助 +1 收起 理由
tonyjj43 + 1 + 1 非常讃

查看全部評分

用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

6
knightxyz | 收聽TA | 只看該作者
發表於 2016-8-17 00:35
本帖最後由 knightxyz 於 2016-8-17 00:36 編輯

:start1timeout /t 10 > null
cd "路徑1"
start /b NecroBot.exe
start /b NecroBot.GUI.exe
timeout /t 1800 > null
taskkill /f /im necrobot* > null
:start2
timeout /t 600
cd "路徑2"
start /b NecroBot.exe
start /b NecroBot.GUI.exe
timeout /t 1800 > null
taskkill /f /im necrobot* > null
:start3
timeout /t 600
cd "路徑3"
start /b NecroBot.exe
start /b NecroBot.GUI.exe
timeout /t 1800 > null
taskkill /f /im necrobot* > null
:delay
timeout /t 600 > null

goto start1

點評

感謝大大們詳解,經測試已經可以連續多開帳號.!!  發表於 2016-8-18 01:03
要注意 第一行的 star1 和 timeout 中間要多一個 跳行  發表於 2016-8-17 20:00
路徑可直接使用 "d:\games\BOT1" "d:\games\BOT2" 之類的方式  發表於 2016-8-17 19:56
這才是正解  發表於 2016-8-17 19:53

評分

參與人數 2碎鑽 +2 幫助 +2 收起 理由
a19560714 + 1 + 1 非常讃
tonyjj43 + 1 + 1 非常讃

查看全部評分

用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 1 反對 0

使用道具 舉報

7
rodoxp | 收聽TA | 只看該作者
發表於 2016-8-17 19:36
本帖最後由 rodoxp 於 2016-8-17 19:53 編輯



右斜線論壇回覆出不來??

點評

是阿斜線出不來,感恩幫忙!!  發表於 2016-8-18 00:27
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則