command for bat file to determine if work/home-group computer online?

J

Jason

In a batch file, how can I determine if one of the other machines on our
local LAN is reachable on the network?

Thanks,
Jason
 
N

Nil

In a batch file, how can I determine if one of the other machines
on our local LAN is reachable on the network?
NET VIEW \\OTHER_MACHINE_NAME

The command will return errorlevel 0 if successful. Anything else
indicates failure for various reasons.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top