DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Open website in custom browser  (Read 5,328 times)

asrjcb

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 16
Open website in custom browser
« on: May 01, 2017, 06:59 PM »
Sorry for posting such a stupid question.  Could not figure it out from other similar posts.

I just want to open a website using the non-default browser using an alias. I've subbed user.name for my actual user name and x'd out the actual site.  I've tried with & w/o quotation marks.  Nothing launches

Open Expense Reporting in IE | "C:\Users\User.name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\iexplore.exe" "http://xxx.xx.com/"

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Open website in custom browser
« Reply #1 on: May 01, 2017, 07:17 PM »
You've used the location of the shortcut to IE, not the executable program. That's this file: "C:\Program Files\Internet Explorer\iexplore.exe" (Well, at least on my Win10 box)
The shortcut has a .lnk extension (hidden always by Windows Explorer), so .exe won't get you anywhere.

How I got there?
- Right-click the shortcut in the start menu
- Choose "Open file location"
- Right-click the Internet Explorer shortcut and choose Properties
- Get the value in the Target field (selected by default)
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

asrjcb

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 16
Re: Open website in custom browser
« Reply #2 on: May 01, 2017, 08:11 PM »
That did it Ath plus the removal of the quotes on the .exe file path.  Thanks for the help.

Original address: https://www.donationcoder.com/forum/index.php?topic=43780.0