This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how do I start an htm file from the command line

  • 5 replies
  • 7 have this problem
  • 4 views
  • Last reply by cor-el

more options

I want to run an htm file from a batch file. Help, please.

I want to run an htm file from a batch file. Help, please.

All Replies (5)

more options
more options

I could not find anything useful for my problem on that url. I would appreciate further help.

more options

You can add the file link to the command line to start Firefox or use -url file://.
Open the file in Firefox via File > Open File to see the url.
If the file has spaces in the file path then you need to add quotes ("")

more options

That did it! Thank you.

more options

You're welcome