Omega - a little trial and error and you would have determined and solved this issue from the info I provided. Normally 'comspec /c' used to insure using client command interpretor (sp?) with SHELL commands, but unnecessary with NET USE.

Bill

SELECT
CASE (@INWIN = 1) AND (@DOS >= 5) SHELL "NET USE H: \\Server\Users\@USERID"
CASE (@INWIN = 1) AND (@DOS >= 4) SHELL "SUBST H: \\Server\Users\@USERID"
CASE (1) SHELL "NET USE H: /HOME"
ENDSELECT