Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine if PC online

Status
Not open for further replies.

djwatts

Programmer
Joined
Nov 10, 2004
Messages
91
Location
GB
Hi,

does anyone know the best way to determine if a pc is switched on.

Some sort of ping, is there a quick way to do this???
 
I used the DIR command to check for a file, any file in a shared folder will do.
 
For ping see faq222-607

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Do a search on the net for "ping scanner visual basic". I searched for something like this a few years back for a previous company and got some source code to modify. I built a ping scanner for the company network out of it. The system prompted you to enter an ip address, computer name or ip range and it would ping the range and drop the results in a dataqgrid (or Excel after I added that option)

It worked well. I may have it on an old cd at home somewhere?

There are lots of API's to reference so I don't think you can do what you want easily (i.e. a simpkle command or two).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top