作者MOONRAKER (㊣乌笨秃,又笨又秃)
看板Visual_Basic
标题Re: [.NET]撰写CMD档要如何使用VB里已宣告的变数??
时间Sun Apr 27 01:34:57 2008
※ 引述《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!
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
■ 蒙帝派松正体中文计画 ■ https://www.youtube.com/user/JamesBondXD
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.115.202.230
1F:推 awpboom:我还是不大懂耶...ˊˋ 04/27 03:15
2F:→ MOONRAKER:不懂!? 04/27 11:13
3F:推 awpboom:我要把shellcue宣告成什麽 我复制整行进去也不行耶 04/27 13:07
4F:→ MOONRAKER:……很多字串成一条 当然就是字串(string)了 04/27 18:31