Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Member
    Join Date
    Feb 2007
    Location
    The Netherlands
    Posts
    41
    Points
    3

    Default Howto start 2 internet programs

    I want to start with a batch program two internet sites.
    Reason I am compiling some programs and it places a update link in start
    I want it to start two sites instead of just one

  2. #2
    Member abseh1's Avatar
    Join Date
    Jul 2008
    Location
    Tampa Bay
    Posts
    2,319
    Points
    388
    Blog Entries
    2

    Default

    cerritos

    This is firefox...you will need two for Internet Explorer
    Just open up Notepad or your favorite text editor.


    NOTE: Examples and file paths are from Vista.

    XP paths will probably be different for some programs as well as for MS Office is used in the example).
    • Copy the commands from below and modify them to use which ever program or Office files you want open. Make sure when you copy file and folder paths that have spaces, to use quotes.
    • Then save the file with any name and a .bat extension (make sure it's not saved using .txt as the file type extension)
    Now when you want to open up multiple programs or applications, just double click on the batch file and you're ready


    Here is an example...just change the paths as you desire

    Here's how the commands look in the batch file to do this:

    start /d C:\Windows\System32\ calc.exe
    start /d "C:\Program Files\Mozilla Fire fox" firefox.exe https://www.bankofamerica.com
    start /d C:\finance\spreadsheets budget.xls


    To open Bank Of America home page with Firefox, just add the URL to end of the command as shown above using https://www.bankofamerica.com.
    To open the Excel spreadsheet, budget.xls you don't need to first open Excel. budget.xls can be opened directly using the start command, as long as the extension or file type is associated to the program.
    If you need Firefox to open more than one URL, say to Google, just add the URL like this (make sure you use a space in between URL's):
    start /d "C:\Program Files\Mozilla Firefox" firefox.exe https://www.bankofamerica.com www.google.com

    More info here
    Last edited by abseh1; 02-27-2010 at 12:22 PM.
    SIGNATURE...When I post info I assume you have already read this link
    How to Start Removing Viruses and Spyware from your Computer

  3. #3
    Member abseh1's Avatar
    Join Date
    Jul 2008
    Location
    Tampa Bay
    Posts
    2,319
    Points
    388
    Blog Entries
    2

    Default

    additional point

    It is all done with simple text
    The above command, start tells Windows to open a separate window to run the specified program.
    The /d switch tells start command the path of the program. For starting Excel and Firefox, notice that the paths are in quotes, which is needed when there is a space in the file path.
    Vista or WinXP and the browser are no big deal...it just requires different paths and nomenclature

    If you wanted you can even have a batch added to the boot via msconfig...then the programs will auto open @ boot

    Not knowing your expertise level...a short cut would no well in most cases

    That is your option....I do not want to see you damage the boot ini and cause a serious problem and not be able to boot Windows

    But is is an option often used by serious users that do a lot of computer commercial work
    Last edited by abseh1; 02-27-2010 at 01:16 PM.
    SIGNATURE...When I post info I assume you have already read this link
    How to Start Removing Viruses and Spyware from your Computer

  4. #4
    Member
    Join Date
    Feb 2007
    Location
    The Netherlands
    Posts
    41
    Points
    3

    Default

    I mean internet sites
    This I tried

    @ECHO OFF
    start Vanderelst PhotoFiltre (Studio)
    start Marga's website - oudje.nl

    but it only opens
    Marga's website - oudje.nl

    If there are ome or more tabs opened it works ok
    but not when the explorer not on the screen

  5. #5
    Member abseh1's Avatar
    Join Date
    Jul 2008
    Location
    Tampa Bay
    Posts
    2,319
    Points
    388
    Blog Entries
    2

    Default

    cerritos

    try this


    @ECHO OFF
    start http://vanderelst2.site50.net/pf/update.htm
    start http://www.oudje.n
    SIGNATURE...When I post info I assume you have already read this link
    How to Start Removing Viruses and Spyware from your Computer

  6. #6
    Member
    Join Date
    Feb 2007
    Location
    The Netherlands
    Posts
    41
    Points
    3

    Default

    Thats what I did for some reason in my preivious message it showed only the titles of the sites. When you put your cursor on it the link shows.
    I also tried

    @ECHO OFF
    start /w Vanderelst PhotoFiltre (Studio)
    start Marga's website - oudje.nl
    and

    @ECHO OFF
    start Vanderelst PhotoFiltre (Studio)
    pause
    start Marga's website - oudje.nl

    But then you have to press a key for the second site.
    There must be a delay function what might work but I have forgotten it

    ________________

    __________________

  7. #7
    Member abseh1's Avatar
    Join Date
    Jul 2008
    Location
    Tampa Bay
    Posts
    2,319
    Points
    388
    Blog Entries
    2

    Default

    It needs to be saved as a .bat

    I forgot that...I have to go...be back later

    I need to work on it some more...it has been awhile since I fooled with batch files....but we will get it done

    What OS do you have for path info?
    SIGNATURE...When I post info I assume you have already read this link
    How to Start Removing Viruses and Spyware from your Computer

  8. #8
    Member Spyware Fighter DonnaB's Avatar
    Join Date
    Apr 2009
    Location
    Illiana, Ill. USA
    Posts
    3,521
    Points
    563

    Default

    Hi,

    I found this link that may help.

    Open Multiple Websites at Once With A Desktop Shortcut

    Looks to be what you are trying to achieve.

    EDIT > After several experiments, had to add multi sites to browser as home pages, then add browser shortcut to desktop. Using Firefox. Only way I could get the two to open @ same time. Sorry for imposing here.
    Last edited by DonnaB; 02-27-2010 at 06:32 PM.
    If you think you might be infected with malware or have recently cleansed your computer of malware without the help of an expert, please read and follow the instructions in How to Start Removing Viruses and Spyware from your Computer. This can alleviate time consumed in trouble shooting your current computer problems.

    If your problem is solved, here's how to say thanks!

    Very proud parent of a U.S. Navy "CB"



    "People may forget what you say,
    People may forget what you did,
    but People will never forget how you made them feel!"

  9. #9
    Member abseh1's Avatar
    Join Date
    Jul 2008
    Location
    Tampa Bay
    Posts
    2,319
    Points
    388
    Blog Entries
    2

    Default

    Donna

    I am not exactly sure ....but I think he wants a "batch file"....a short cut works too

    He wants it as an update option in start

    Truthfully ...I need him to explain it...I am not sure?

    I can get them to open separately...and forgot the script too connect them

    I got my books out lol....later

    But thanks for jumping in....I need help too

    These things can be fun to figure out (I guess...I need a life)
    SIGNATURE...When I post info I assume you have already read this link
    How to Start Removing Viruses and Spyware from your Computer

  10. #10
    Member abseh1's Avatar
    Join Date
    Jul 2008
    Location
    Tampa Bay
    Posts
    2,319
    Points
    388
    Blog Entries
    2

    Default

    cerritos

    Sorry but I am still not following you...

    what I sent you opens two browser windows using a batch...one with each URI

    I am not sure what else "together" means?

    Best I can do...sorry
    ==================
    Donna has a site that will open several programs with a short cut


    SIGNATURE...When I post info I assume you have already read this link
    How to Start Removing Viruses and Spyware from your Computer

Page 1 of 2 12 LastLast