How do I launch a program from command line without opening a new cmd window?

前端 未结 9 850
走了就别回头了
走了就别回头了 2020-12-01 16:00

I\'m trying to programmatically execute an external file from cmd using this command:

START \"filepath\"

Where \"filepat

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 16:49

    20190907

    OS: Win 10

    I'm making an exe in c++, for some reason usting START make my program fail.

    So, just use quotes:

    "c:\folder\program.exe"

提交回复
热议问题