sure.
your path is wrong [Big Grin]
quote:
ARGUMENTS Optional. Arguments appended to TARGETPATH
that is the way these work.
the actual path is the thing you are pointing to.
this is normal behaviour.
so your call should be:
code:
$x = WshShortCut("%userprofile%\desktop\Baan V.lnk","\\SR0004\Worktop\bin\Worktop_client.exe","\\SR0004\Worktop\documents\$BaanUsername.wtd", "\\SR0004\Worktop\bin", "\\SR0004\worktop\bin\worktop.exe")

_________________________
!

download KiXnet