0

When I am at office I have to use the following outlook incoming/outgoing mail server:

192.0.0.100

When I am at home I have to use the following outlook incoming/outgoing mail server:

mail.pantikidis.com

I am trying to find a way to use two .bat files, the one will automatically set my office setting and the other will set my home settings.

I use windows 10 64bit and outlook 2013.

Any idea?

Anptk
  • 1,125
  • 2
  • 17
  • 28

1 Answers1

0

You can try this :

  1. In your outlook profile you set up the "mail.pantikidis.com".
  2. Create a bat to edit the %windir%\System32\drivers\etc\hosts

You look in this thread, there is something very similar : Windows Batch: How to add Host-Entries?

Community
  • 1
  • 1
seb2020
  • 115
  • 3
  • 10