M
M
Maxim Ivanov2015-06-04 00:06:43
Command line
Maxim Ivanov, 2015-06-04 00:06:43

How to run a program from the console?

bada0bef1f4f42c4859eb74d34370814.png
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

1 answer(s)
A
Alexey Rytikov, 2015-06-04
@splincode

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 question

Ask a Question

731 491 924 answers to any question