Hello,

I have some remote site connected by WAN . On these site , I have somes users who need to access on disk that are on our Site. So in login script they have some map to disk from our servers.

When the network is out , login script take a long time to try to connect these MAP....

I try to use a test ping like this :

@ECHO OFF
ping /n 1 server1.com | find "ponse" >nul ###### ponse something in french in line when OK ( réponse )
if %errorlevel% == 0 goto reply
SET DISTANT="NOK"
goto end
:reply
SET DISTANT="OK"
:end


and to use Variable DISTANT with IF THEN ELSE END in login script to condition map or not remote disk

Is it possible ?????


Regards