On Windows, how do I run a shortcut in the background from the command line?

cmd /C "myshortcut1.lnk"
cmd /C "myshortcut2.lnk"

      

Works, but gives me a DOS popup that kills my two loaded programs when closed. The same is true for this:

start /B cmd /C "1.lnk"
start /B cmd /C "2.lnk"
start /B cmd /C "3.lnk"
start /B cmd /C "4.lnk"

      

+1


source to share


2 answers


Try start

:

start myshortcut1.lnk
start myshortcut2.lnk

      



I don't have a Windows operating system to test it right now, but it should work.

+1


source


Have you tried this?



C:\> my_shortcut.lnk

      

+1


source







All Articles