i will
? $LDRIVE ; This variable has the value 0 when the variable $LDR have the value "$lokaldrive_G". What can i do to become the value \\filesrv001\log$ ???

This is a construct variable about $lokalDrive_G = "\\filesrv001\log$"

my target is to show if the variable $lokalDrive_A....Z has an value and when it is, then connect the network drive.

Regards
Michael