Re: [.NET]撰寫CMD檔要如何使用VB裡已宣告的變數??
※ 引述《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
04/27 13:07, 3F
→
04/27 18:31, , 4F
04/27 18:31, 4F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 3 篇):