W10 autostart with dependencies?

Sa
2

On my home office laptop, I let the applications that are to be started at startup start via Autostart. In addition to establishing the VPN connection, these include Outlook and Skype for Business. Unfortunately, the establishment of the VPN connection is sometimes too slow, so that Skype starts without a network connection. As a result, Skype will not connect. I then have to completely close Skype by hand and only restart it when the VPN connection is open.

Now my question: Is there somehow the possibility (without intervention in the registry etc., because it is blocked) to build a dependency into the autostart such as: start VPN, wait until connection is established, then start Skype?

Fr

I would solve this with a batch file, because you can insert pauses between the start of the programs.

You can see what it looks like here:
https://www.computerbase.de/forum/threads/win10-batchfile-im-autostart-ausfuehren-skriptfenster-schliesst-nicht.1806524/

Here is a list of possible commands:
https://de.wikibooks.org/wiki/Batch-Programmierung:_Batch-Befehle

Fr

These are better examples than the link above, forget that
https://www.script-example.com/themen/Praktische_Beispiele_mit_Batch.php