I am just trying to open the "mail" control panel object through script on a Windows 98 box. I have tried:
WSHShell.Run "rundll32.exe shell32.dll,Control_RunDLL mlcfg32.cpl"
and
WSHShell.Run "rundll32.exe shell32.dll,Control_RunDLL wgpocpl.cpl"
Neither of them open the mail setup. It doesn't do anything when it runs. I am doing the same thing with adding a printer and it does work. (WSHShell.Run "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter") Does anyone know why or have an alternative? Better yet does any have code to automate setting up Exchange settings in Outlook through script or WMI? Thank in advance
WSHShell.Run "rundll32.exe shell32.dll,Control_RunDLL mlcfg32.cpl"
and
WSHShell.Run "rundll32.exe shell32.dll,Control_RunDLL wgpocpl.cpl"
Neither of them open the mail setup. It doesn't do anything when it runs. I am doing the same thing with adding a printer and it does work. (WSHShell.Run "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter") Does anyone know why or have an alternative? Better yet does any have code to automate setting up Exchange settings in Outlook through script or WMI? Thank in advance