Click to See Complete Forum and Search --> : WRITING A SHELL COMMAND TO A FILE


October 8th, 1999, 02:17 PM
Why won't this work in vb?
shell "ping www.yahoo.com > c:\ping.txt"
it will not create the ping.txt

Greeting, Earthquaker

Aaron Young
October 8th, 1999, 02:43 PM
Shell isn't the DOS O/S, so it doesn't recognize the Porting Command, what you could do is write a BAT file and Call that with the Shell Command.

Aaron Young
Analyst Programmer
adyoung@win.bright.net
aarony@redwingsoftware.com