In my Windows' workgroup I have several PC. I can access them via:
\\PC1
\\PC2\documents
\\PC3
etc

Now, how can I check if they're on or off?
I came up with this:

Code:
        On Error GoTo IsOff
        Open "\\PC2\test.txt" For Output As 5:close
        Msgbox "It's ON"
        exit sub

IsOff:
       MsgBox "It's OFF"

but every time I do that, the program freezes like 5 seconds if PC is off. Can I reduce that time of waiting or try something else?