Launch Program with Parameters

后端 未结 3 1583
后悔当初
后悔当初 2020-12-03 16:48

How do I write a very simple program that uses the command line to navigate to a program in the user\'s Program Files directory, then launches the .exe with a p

3条回答
  •  难免孤独
    2020-12-03 17:38

    Just create a new text file, name it "go.cmd" and put the following in there:

    "C:\etc\Program Files\ProgramFolder\Program.exe C:\etc\desktop\file.spp C\etc\desktop\file.txt"
    

    Voila, you have your program!

提交回复
热议问题