Thanks
- From: "Jason" <jason@xxxxxxxxxxx>
- Date: Wed, 25 Jan 2006 15:25:28 -0600
Thanks, that worked
"Jason" <jason@xxxxxxxxxxx> wrote in message
news:OSfjwkdIGHA.1424@xxxxxxxxxxxxxxxxxxxxxxx
>I want to create a script that with help a person determine if a pc is
>online or not based upon the PC name entered.
>
> My first thought was just.....
>
> Set WshShell = WScript.CreateObject("WScript.Shell")
> Dim PcnameVariable
> PcnameVariable = Trim(InputBox("Enter a pc name ","Enter a PC name"))
>
> Wshshell.run "ping "&PcnameVariable ,0, false 'surpress the ping output
> window
>
> Then use a MsgBox to indicate if that PC in on-line or not. No need for
> the user to see anything else
>
> Any Ideas, or is there a easier way?
>
> thanks
>
.
- Follow-Ups:
- Re: Thanks
- From: Ginolard
- Re: Thanks
- References:
- Does Ping.exe return any values?
- From: Jason
- Does Ping.exe return any values?
- Prev by Date: Re: How to sort a comma delimited text file?
- Next by Date: Re: How to sort a comma delimited text file?
- Previous by thread: Re: Does Ping.exe return any values?
- Next by thread: Re: Thanks
- Index(es):
Relevant Pages
|