Launching internet shortcut at boot

Joined
Apr 6, 2015
Messages
322
Reaction score
10
When I run the (Firefox) Internet Shortcut to MessagesforWeb manually, it responds satisfactorily. How could I trigger that to run at Windows boot ?
 
Joined
Apr 6, 2015
Messages
322
Reaction score
10
I have done that but it does not work. So I thought it might need a delay, which I can introduce in a batch file. The problem is that the shortcut is not a LNK, but a URL, and I do not know how to make that effective in a batch file.
 
Joined
Feb 22, 2014
Messages
1,641
Reaction score
341
"C:\Program Files\Mozilla Firefox\firefox.exe" "https://www.facebook.com/"
The first quoted text is the address to a browser. The second quoted text is a parameter passed to the browser. Change the browser address to match your browsers address. Change the URL to the one you want to open. Make sure that both are wrapped in quotes. This insures that any spaces do not break the text into multiple parameters. Which will cause errors.

Adding such lines to bat/cmd files will initiate any executable. You only need to include a full path to the application or your script will not be able to find it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top