所以,我試圖做一個應用程序選擇器 - 我得到的一切只有一個問題 - 我可以讓它工作,如果程序是在同一文件夾,因爲它的工作原理批處理文件,但這是代碼嗯,我做了什麼(應用程序選擇器)(程序錯誤(IGNORE POST))
CD "%userprofile%\Desktop\MultiBatch\Place applications here"
start Glyph.exe
沒有,這裏是我的老一個沒有工作,只有當它在同一文件夾
if %selector% == 7 start GlyphClient.exe
讓我怎麼讓它啓動我的意思是它在目錄中 - 我已經放置了字形。
請幫忙,但要尊重。
下面是完整的代碼
@echo off
@title Multi Tool
color 0c
:title
echo ---------------------------------------------------------------
echo -------------------MultiTool by michaelukz---------------------
echo ---------------------------------------------------------------
pause
:select1
echo ---------------------------------------------------------------
echo ------------------------Selection tool-------------------------
echo ---------------------------------------------------------------
echo [1] Website selection
echo [2] Application selection
echo [3] Calculator
echo [4] Clock [Updates every minute]
echo [E] Exit
CHOICE /C:1234E
goto action%errorlevel%
:action1
echo Website selection chosen
goto websel
:websel
echo ---------------------------------------------------------------
echo ----------------------Choose your Website----------------------
echo ---------------------------------------------------------------
echo [1] Google.com
echo [2] Minecraft.net
echo [3] Kryptocraft.net
echo [4] Amazon.co.uk
echo [5] Virmach.com Client area
echo [6] xpaw.ru
echo [7] twitter.com
echo [8] Youtube
echo [9] Exit prompt
CHOICE /C:123456789
goto web%errorlevel%
cls
:web1
echo Starting Google.com
start www.google.com
goto title
:web2
echo Starting Minecraft.net
start www.minecraft.net
goto title
:web3
echo Starting kryptocraft.net
start www.kryptocraft.net
goto title
:web4
echo Starting Amazon.co.uk
start www.amazon.co.uk
goto title
:web5
echo Starting Virmach Client panel
start www.virmach.com/manage/clientarea.php
goto title
:web6
echo Starting xpaw.ru
start www.xpaw.ru/mcstatus
goto title
:web7
echo Starting Twitter.com
start www.twitter.com
goto title
:web8
echo Starting Youtube.com
start www.youtube.com
goto title
:web9
echo Going to Exit prompt
goto extprompt
:action2
echo Application selection chosen
goto appsel
:appsel
echo ---------------------------------------------------------------
echo --------------------Choose your application--------------------
echo ---------------------------------------------------------------
echo [1] Glyph
echo [2] Photoshop
echo [3] Nero video 2015
echo [4] Mozilla firefox
echo [5] Task manager
echo [6] Notepad++
echo [7] Minecraft
echo [8] FTB Launcher
echo [9] ATLauncher
echo [Q] Exit Prompt
CHOICE /C:123456789Q
goto app%errorlevel%
cls
:app1
echo Launching Glyph
PUSHD "%userprofile%\Desktop\MultiBatch\Place applications here"
START GlyphClient.exe
POPD
goto title
請看[help] – Pred 2014-10-10 14:30:42
這個問題看起來好像它現在沒有啓動 - 所以即將嘗試使用我的舊代碼,但使用不同的程序 – michaelukz 2014-10-10 16:04:08
所以看起來好像它的程序 - Don不知道最近有什麼變化 – michaelukz 2014-10-10 16:07:00