I would like to create shortcuts to some executable files (exe, bat, com…) on Windows 7 using bat files, but I had some troubles with that:
-
start notepad.exe
works perfectly, butstart Foxit Reader.exe
orstart "Foxit Reader.exe"
will not function. How to usestart
command with files named with space characters? -
call notepad.exe
orstart "Foxit Reader.exe"
or justnotepad.exe
or"Foxit Reader.exe"
works but a command prompt is opened and remains opened until the user close it or called executable. Any way to avoid it?
Best Answer
Read help for
start
carefully. Andstart
does not wait for started process termination by default (there is/wait
flag for "waiting" mode).