如题,本人VB菜鸟一枚,刚开始学习,最近用VB通过shell调用bat批处理命令,可以调用,bat指令dos窗口也会启动,但是没有运行效果,双击bat文件就有运行效果,请高人指点 大致如下,通过打开TC-9_HexToBin.bat,修改TC-9_HexToBin.bat内容,调用一个外部程序 ...
上面两个文件在同一目录下,双击“重启光猫.bat”,可以正常执行telnet重启光猫。但是我VB里调用 Shell CurrentPath & "重启光猫.bat",可以打开bat,但是报错,也没效果 1、找不到telnet.exe错误提示 2、我如果复制telnet.exe到目录下,虽然不出错误提示,但是完全不是是 ...
I'm trying to get VB to launch a DOS based program and save the output to a text file.<P>Shell wouldn't even launch the program.<P>So I used ShellExecute, and my call ...