I use the following script to launch Outlook 2002 with one of two profiles, depending on the IP range. If it starts with 172.anything, it launches the corporate profile; otherwise I'm at home/elsewhere and load a diferent profile, which does not have an exchange account configured...

HTH,
  Madruga

code:
$address = @IPADDRESS0
$firstpart = SubStr( $address, 1, 3 )
if $firstpart = "172" ; Empresa
run '"C:\Program Files\Microsoft Office\Office10\OUTLOOK.EXE" /PROFILE ASCL'
else
run '"C:\Program Files\Microsoft Office\Office10\OUTLOOK.EXE" /PROFILE CASA'
endif



[ 02. September 2002, 12:44: Message edited by: Fernando Madruga ]
_________________________
Later,   [b]Mad[/b]ruga