Sign in with
Sign up | Sign in
Solved

What's wrong with my batch file?

Last response: in Applications
Share
Programming Authority

That folder is not (I presume) in the default PATH variable. Put the full path to the program in your batch file:

start "C:\Program Files\Mozilla Firefox\firefox.exe"

Best solution

Programming Authority

No, No:

@echo off
start "C:\Program Files\Mozilla Firefox\firefox.exe"

(Actually, the "start" is redundant. You could just put

@echo off
"C:\Program Files\Mozilla Firefox\firefox.exe"
)
Ask the community
!