I want to convert a bat script into macroscheduler so I can make a .exe file of it.
It's because we have problem with Outlook 2007 will not remember the password and it ask for it every time we start Outlook. This is because out Exchange system is hosted and they have 2 diffent domains. One for the Proxy and one for the Exchange servers.
So we need this small script so it will enter the credentials info the credential manager in windows and the user only need to type the mail adress and the password and it's saved in the crendetial manager under Control panel / user /manage your credentials (i Think that it's something like that in English windows).
Anyone of the experts that can help me with this. I can't make it work in Macro Scheduler.
This is the bat script that we have now that works. The problem is we need Swedish chars and we can't get that in dos in an easy way. So I want to do it in Macroscheduler that we already use for long time for automation.
Code: Select all
@ECHO OFF
set /p un=Write your E-mail adress and press ENTER:
set /p pw=Write your E-mail password and press ENTER:
@ECHO ON
cmdkey /add: *.hostingdomaine1.local /user:%un% /pass:%pw%
cmdkey /add: *.hostingdomaine2.com /user:%un /pass:%pw%