i have to connect often to different server on different sites. the script should, based on @lserver or iprange mapping the right shares. i tried in many ways but no result.
ex.
If @lserver = "srv1"
use h: "\\srv1\sys"
Endif
If @lserver = "srv2"
use h: "\\srv2\sys"
Endif
ecc.
seems easy...but whats wrong with it?

thanks for help kurt