|
-
November 4th, 1999, 03:08 PM
#1
Shell
How do I use the shell command in VB to ping a computer and redirect the output to a file on my C drive?
Thanks!
-
November 4th, 1999, 04:01 PM
#2
Re: Shell
The easiest way would be to create a Batch File and call that from the Shell Command in VB, eg.
In a "PingIt.bat" Batch File..
PING %1 > %2
In VB..
Shell "C:\PingIt.bat www.codeguru.com C:\PingFile.txt"
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|