Quantcast
Channel: 2BrightSparks
Viewing all articles
Browse latest Browse all 9303

check if cifs share is available?

$
0
0
Hi

I use profiles which start automatically when a file has changed. On my laptop is the problem that the cifs share with which I want to synchronise is only in my local subnet available and not during use of wifi.

To avoid automatic start during wifi use I wrote a batch file like explained at http://support.2brightsparks.com/knowledgebase/articles/215221-verifying-ip-address-with-mac-address

check_ip.bat:
@echo o
ping -n 1 <IP> >NUL 2>NUL
if errorlevel 1 exit 1

But during automatic start allways a command line window popup for half a second.
How can I avoid this?

Thx for helping.

Best regards
Marten?

Viewing all articles
Browse latest Browse all 9303

Trending Articles