Answer the question
In order to leave comments, you need to log in
How to run a program from the console?
simple use of "start firefox.exe" - it will obviously work, but what about the address (gives an error)?
let's say my.exe is on my desktop,
if you run "start my.exe", then it will not find it
Answer the question
In order to leave comments, you need to log in
You need to put in quotes everything that you have after start:
————
option /b - launch the application without opening a new window.
/d - the path from which we will start execution
Try
start /b /d "C:\Program Files (x86)\Mozilla Firefox" firefox.exe
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question