/s does seem to be valid argument.
still, it opens the window.
if you want to import profile without starting outlook, you probably should check on newprof:
quote:
SUMMARY
The Newprof.exe file is the Automatic Profile Generator Program. This article describes the command line options that this program recognizes.
MORE INFORMATION
Newprof.exe requires a profile settings file (.PRF file) that contains the information about the profile to be generated. By default, if Newprof.exe is not supplied any parameters, it will look for the file Default.prf in the Windows directory.
Newprof.exe accepts the following command line options:
NEWPROF [-P ] [-S] [-X] [-Z]
Where:
-P is the .PRF file with the complete path.
-S Causes the Newprof.exe to program to bring up a window, allows the user to choose a .PRF file, and displays status and error messages in this window.
-X Causes Newprof.exe to start execution automatically when the -S option is used, without waiting for a .PRF file to be selected. Requires the -P option to be used or the Default.prf file to be present in the windows directory.
-Z Causes Newprof.exe to display MAPI error codes in case any errors are encountered. This option requires the -S option.
Newprof.exe does not generate any log files.
Keywords : kbusage
Issue type :
Technology : kbExchangeSearch kbExchange500 kbExchange400 kbExchangeClientSearch kbZNotKeyword kbZNotKeyword2 kbZNotKeyword3 kbExchange400NT kbExchange500NT
I use it in logon script and it works a charm.
cheers,
_________________________
!download
KiXnet