To my knowledge there is no direct way to do that from a batch file. It would be possible using VBScript and/or invoking non-trivial scripting using rundll and the Windows API.
The other option is to use 3rd party start programs like NirCmd, etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.