Bat file to run a .exe at the command prompt

后端 未结 11 1595
萌比男神i
萌比男神i 2020-12-04 08:09

I want to create a .bat file so I can just click on it so it can run:

svcutil.exe /language:cs /out:generatedProxy.cs /config:app.config http://localhost:800         


        
11条回答
  •  攒了一身酷
    2020-12-04 08:52

    it is very simple code for executing notepad bellow code type into a notepad and save to extension .bat Exapmle:notepad.bat

    start "c:\windows\system32" notepad.exe   
    

    (above code "c:\windows\system32" is path where you kept your .exe program and notepad.exe is your .exe program file file)

    enjoy!

提交回复
热议问题