推 ateclean:用BAT檔試試吧 08/01 23:17
→ legendsaga74:我只是想知道路徑中遇到空白鍵怎麼避掉 08/02 15:31
→ legendsaga74:它會跑去找 C:\Program 我想知道如何讓路徑成為字串 08/02 15:32
→ junorn:路徑前後加"號 08/02 17:04
推 junorn:call cmd /c start "C:\Program Files\Garena\Garena.exe" 08/02 17:07
→ legendsaga74:to樓上:試過了 會多跑一個cmd視窗出來 但沒執行 08/02 17:23
→ legendsaga74:anyway , thank you :) 08/02 17:24
→ legendsaga74:上網查了一下dos指令 都只有基本指令介紹 08/02 17:28
→ legendsaga74:範例都用很簡單的路徑;路徑中含空白字元的都沒看到:( 08/02 17:31
→ legendsaga74:硍 試出解法了 沒想到還真是這樣... = =||| 08/02 17:32
要用call cmd /c start C:\"Program Files"\Garena\Garena.exe
^^^ ^^^
果然電腦是很聰明的 =.=
※ 編輯: legendsaga74 來自: 114.38.245.129 (08/02 17:34)