Re: [.NET]撰寫CMD檔要如何使用VB裡已宣告的變數??

看板Visual_Basic作者 (㊣烏笨禿,又笨又禿)時間17年前 (2008/04/27 01:35), 編輯推噓2(202)
留言4則, 2人參與, 最新討論串2/3 (看更多)
※ 引述《awpboom (awp)》之銘言: : Shell("cmd.exe /c arp -s a b") : 為什麼我的a和b在cnd裡面都讀不到 這樣會讀到有鬼 你又不是在寫shell script shellcue = "cmd.exe /c arp -s " & a.toString() & " " & b.toString() shell(shellcue) 這樣還差不多   -- 如何隱身 - SPAM - 英國殺人笑話 - AND LOTS MORE Unlimited Pythonesque adventure, spam-a-lot and prosper with Monty Python! ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 蒙帝派松正體中文計畫 http://www.youtube.com/user/JamesBondXD ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.115.202.230

04/27 03:15, , 1F
我還是不大懂耶...ˊˋ
04/27 03:15, 1F

04/27 11:13, , 2F
不懂!?
04/27 11:13, 2F

04/27 13:07, , 3F
我要把shellcue宣告成什麼 我複製整行進去也不行耶
04/27 13:07, 3F

04/27 18:31, , 4F
……很多字串成一條 當然就是字串(string)了
04/27 18:31, 4F
文章代碼(AID): #184sV6K7 (Visual_Basic)
文章代碼(AID): #184sV6K7 (Visual_Basic)