Batch File Find Path of Exe and Run Program -


I am working on a batch file that searches the browser on the machine and runs a URL. I was able to find the code to find an XI and I know how the URL is run when the way of the browser is hard coded, but I want to put them together.

  // Comment Browser Shows Firefox @ Path of Path @ @OKO OFF BrowserPath = DIR / S / B FireFox XE // Comment - The URL "% BrowserPath%" "http://www.cnn.com" / Code>  

use the browser path, except for any command that Dyare / S / b firefox XX

Anyone searching for exe Do not need Start will do the following for you:

  Start http://www.cnn.com   

will open Url with default browser (note: not quotation marks around url)

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -