看板 [ java ]
討論串[問題] Java 路徑字串問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者pzyc79 (五薀皆空)時間13年前 (2012/11/22 15:47), 編輯資訊
0
0
0
內容預覽:
查到的解法:. public class Test {. public static void main(String[] args) {. String str = "c:\\a b.mp3";. String c = "rundll32 SHELL32.DLL,ShellExec_RunDLL
(還有149個字)

推噓1(1推 0噓 5→)留言6則,0人參與, 最新作者RichieRich (Richie)時間13年前 (2012/11/22 11:38), 編輯資訊
0
0
0
內容預覽:
當路徑有二個空白時例如a b.mp3. String str = "c:\\a b.mp3";. try {. // System.out.println(str);. System.out.println("rundll32 SHELL32.DLL,ShellExec_RunDLL \"" +.
(還有120個字)
首頁
上一頁
1
下一頁
尾頁