home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 42,368 of 42,547   
   Oliver to VanguardLH   
   Re: Is there a Windows batch way to make   
   13 Mar 24 02:51:10   
   
   XPost: alt.comp.os.windows-10, alt.comp.software.firefox   
   From: ollie@invalid.net   
      
   On Wed, 13 Mar 2024 02:10:32 -0500, VanguardLH  wrote   
      
   > Instead of a batch script, you could save all the URLs as bookmarks   
   > under the same bookmark folder.  When you want to open all of them,   
   > double-click on the bookmark folder, or right-click on the folder and   
   > select "Open all bookmarks" in the context menu.   
      
   Thanks for the suggestion of bookmarks, but if I had wanted   
   bookmarks, I wouldn't need to write a batch file to get them. :)   
      
   I want to send the batch file to hundreds of others (mostly students) and I   
   don't use bookmarks and I don't want all those others on all types of   
   browsers to have to import a bookmark file from me. That's nuts.   
      
   All I want is to know how to include a text file of URLs   
   so the students (and I) can put the URLs into that text file.   
      
   Then I can add the if/then/else stuff to make it work with all browsers.   
      
   For example,   
      
   I've already started to improve the batch file so it works for   
   hundreds of students (just by them running the batch file) because they can   
   start to add their own browser by a simple numeric input.   
      
   It's not ready yet, but here's the idea I'm working on at the moment   
   to make it more universal (so any web browser people want will work).   
    @echo off   
    echo "Open web browser to a variety of book sites"   
    echo USAGE:   
    echo -Press "1" to open book sites in the Opera VPN Browser   
    echo -Press "2" to open book sites in the Epic Privacy Browser   
    echo -Press "3" to open book sites in the Firefox Tor Anonymity Browser   
    echo -Press "x" to exit.   
    echo.   
    set /p option=Your option:   
    if '%option%'=='1' goto :option1   
    if '%option%'=='2' goto :option2   
    if '%option%'=='3' goto :option3   
    if '%option%'=='x' goto :exit   
    echo Enter browser 1, 2, 3 or x   
      
   But that part I can figure out because I have working examples   
   for other purposes, so I'm only asking here how to get the   
   batch file to load the URLs from a text include file.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca