hmmm... I can't find the FAQ...

Well, this is what you will want to do:

code:
	select
Case @producttype = "Windows XP Professional" $os="WinXP" $subcmd="net use"
Case @producttype = "Windows 2000 Professional" $os="Win2K" $subcmd="net use"
Case @producttype = "Windows NT Workstation" $os="WinNT" $subcmd="subst"
endselect
$DriveLetter='M'
$UNC='\\server\share\folder'
shell '%comspec% /c $subcmd $DriveLetter: "$UNC" 1>Nul 2>&1'



[ 11. February 2003, 21:31: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask