Windows CMD opened application using START - application closes when CMD window closes.

C

CTFlorian

In my environment I cannot do anything until I'm connected to my company's VPN. So, there are several apps that I don't want to start until I'm connected: Outlook, OneDrive and Teams. I created a simple BAT file that I execute after I am connected. (I've been using this for years). After some update, Outlook and OneDrive start as usual, but Teams opens and then close.I did some testing and it appears that Teams is staying connected to the CMD window and when it closes, Teams closes. Here's the code: echo Launching Outlook start "" "C:\Program Files (x86)\Microsoft Office\root\Office16

Continue reading...
 
Back
Top Bottom