Thanks

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
>


.



Relevant Pages

  • Does Ping.exe return any values?
    ... 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. ... Then use a MsgBox to indicate if that PC in on-line or not. ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)
  • Show Status in a Windows Dialog Box
    ... In my script that insert records from a text file to a database it shows the ... If I use MsgBox instead, the user will have to click OK in each message. ... Prev by Date: ...
    (microsoft.public.scripting.wsh)
  • Re: KDE panel
    ... houghi wrote: ... > Now I have a script that has the following to change the background: ... Just kidding, I'm online ... Prev by Date: ...
    (alt.os.linux.suse)
  • Re: "Who is online" Web Part?
    ... > i need a possibility (Script or Web Part) which shows me in my WSS Site ... > which user is online. ... Prev by Date: ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Script to run when Application starts
    ... > will change it so that the user opens the application through a script and ... > include the msgbox but I would prefer the former. ... This script ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)