上面两个文件在同一目录下,双击“重启光猫.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 ...