Jump to content
Sign in to follow this  
Aceguy

network

Recommended Posts

Aceguy

i have a shortcut to another computer like this...

\\BROOK-PC\Users\Brooky\Desktop\ZOO 26.08.08

is there a command to ping (see if network is available to this address).

or check the link,.. or something like that.

Share this post


Link to post
Share on other sites
Briegel

Ping ( address or hostname [, timeout] )

FileExists ( "path" )

Share this post


Link to post
Share on other sites
MadBoy

i have a shortcut to another computer like this...

\\BROOK-PC\Users\Brooky\Desktop\ZOO 26.08.08

is there a command to ping (see if network is available to this address).

or check the link,.. or something like that.

To be a bit precise what you need ...

You need to:

1. Use _StringBetween and use \\ and \ to get BROOK-PC value.

2. Then when you have the value use ping

3. If Ping > 0 then use FileExists()

Should do the trick.


My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×