Computing.Net > Forums > Programming > Batch File: Open HTM in current dir

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch File: Open HTM in current dir

Reply to Message Icon

Name: lowcam
Date: April 23, 2008 at 18:01:22 Pacific
OS: XP
CPU/Ram: 1.8GHZ/1 GB
Product: Intel Core Duo
Comment:

I am trying to setup a batch file in XP that will open a stand-alone web browser and open a web file in the same directory. So far this is what I have:

START BrowzarWinstyle1500.exe \Links.htm

But this looks at C:\ for the Links.htm file. I tried just "Links.htm" but the program tried to pull it up via the web. Is there a way to get the file to pull from the current directory? I need the batch to open from any location (the htm file will always be in the same directory as the batch file).



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: April 23, 2008 at 21:46:50 Pacific
Reply:

start firefox file:///c:/temp/-/test.htm


=====================================
If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: chrisyunke
Date: May 10, 2008 at 17:40:17 Pacific
Reply:

start (exact file location)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch File: Open HTM in current dir

close one batch file, open another www.computing.net/answers/programming/close-one-batch-file-open-another/19640.html

batch file:Insert date in file www.computing.net/answers/programming/batch-fileinsert-date-in-file/11123.html

Batch file, read data in email, open browser www.computing.net/answers/programming/batch-file-read-data-in-email-open-browser/19721.html