Bat file to run a .exe at the command prompt Bat file to run a .exe at the command prompt windows windows

Bat file to run a .exe at the command prompt


To start a program and then close command prompt without waiting for program to exit:

start /d "path" file.exe


You can use:

start "windowTitle" fullPath/file.exe

Note: the first set of quotes must be there but you don't have to put anything in them, e.g.:

start "" fullPath/file.exe


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!