感謝大大分享多開的執行檔
但我在執行的時候失敗了
由於沒有程式編寫的經驗
可否請大大確認一下我格式是否有錯誤
echo off
set folder="C:\Program Files (x86)\Diablo II Resurrected"
set handle=C:\Program Files (x86)\handle.exe
set account="C:\Program Files (x86)\Diablo II Resurrected"
[email protected](空格+密碼) <-此處未分行
="C:\Program Files (x86)\Diablo II Resurrected" [email protected](空格+密碼)
="C:\Program Files (x86)\Diablo II Resurrected" [email protected](空格+密碼)
(以下直接貼上複製+貼上您的程式碼 完全沒有更動/換行)
set /p region=Select the server(KR/us/eu): || SET "region=kr"
if %region% EQU kr goto startd2r
if %region% EQU KR SET "region=kr" && goto startd2r
if %region% EQU us goto startd2r
if %region% EQU US SET "region=us" && goto startd2r
if %region% EQU eu goto startd2r
if %region% EQU EU SET "region=eu" && goto startd2r
:startd2r
for /f "tokens=1,2" %%x in (%account%) do (
START "" /D %folder% D2R.exe -username %%x -password %%y -address
%region%.actual.battle.net %*
timeout 5 > NUL
for /f "tokens=3,6 delims= " %%a in ('%handle% -a "Check For Other
Instances" -nobanner') do %handle% -p %%a -c %%
感謝您花時間判讀