I'm afraid, either I didn't fully understand it or your answer is beside the point.
My question was not about TCP/IP but about how to do an "IF EXIST" with a UNC-Path that is stored in a Variable, like
---------------------code---------------------
$ROCPATH="\\ROC\VPHOME$\Groups\"
If EXIST ($ROCPATH)
do stuff
else do other stuff
endif
---------------------code---------------------
afaik the "EXIST" statement checks, if the VARIABLE does exist and not if the PATH that is stored in the variable exist.
I did however find a workaround
---------------------code---------------------
$ROCPATH="ROC\VPHOME$\Groups\"
IF Exist ("\\")+$ROCPATH
do stuff
else do other stuff
endif
---------------------code---------------------
This line adds the Backslashes in Brackets and the contents of the variable together and checks if the sum of it exists.
Works, but is this the way how I should program it? Seems to me awkward in some way.
Thanks for your kind answers in advance.
I really appreciate your dedication
Rob
_________________________
Serenity: You can't stop the Signal!