This is the code, but your 9x users home dirs need to be shared... Typically hidden.
code:
select
case $os="Win9x" $subcmd="net use" $h="\\server\@userid$$"
case $os="WinNT" $subcmd="subst" $h="\\server\share\@userid"
case $os="Win2k" $subcmd="net use" $h="\\server\share\@userid"
case $os="WinXP" $subcmd="net use" $h="\\server\share\@userid"
endselect

? " Connecting "color c+/n"H: "color w/n"to "color w+/n $h color w/n
shell "%comspec% /c $subcmd h: /d 1>Nul 2>&1"
shell "%comspec% /c $subcmd h: $h 1>Nul 2>&1"



[ 04 June 2002, 04:27: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask