In our logon script, we backup some local folders as a belt-n-braces backup as we don't officially backup local drives. The server that this backs up to is a medium-level development server that's sometimes out of action. The script uses robocopy but this pauses for about 30 seconds if the target server isn't available.

I've also tried:

if exist("\\server004\share")<>0
..do backup..
endiff

but this also takes a long time to fail if the server is down.

So looking for another way to quickly check if the server exists... something like ping with error result sort of thing, as ping soon works out of the server is down.

Cheers, Rob.