@ECHO OFF
set HOME=c:\lynx
set TEMP=c:\lynx\temp
REM set WWW_HOME=c:\lynx\startpage.html
set LYNX_CFG=c:\lynx\lynx.cfg
c:\lynx\lynx.exe %1 %2 %3 %4 %5
Note that the variables HOME, TEMP, WWW_HOME, and LYNX_CFG are in uppercase text. All of these MUST be uppercase for this file to work.
This file is called a batch file. Save it under the name "lynx.bat" inside your lynx folder, but keep it open in your text editor.
HOME will be the location where the bookmark file will be saved. TEMP will be the location where the Options file will be saved.
WWW_HOME is the page that will first open when Lynx starts.
NOTE: I have included the WWW_HOME variable if you later want Lynx to open to your choice of home page or to an HTML file that is on your computer when it starts. If you are not connected to your ISP when Lynx starts, Lynx will shut itself down. If you want to set your own home page, delete the "REM" and type in your choice of home page or HTML file on your computer.
The "REM" means "remark" and denotes a line of the batch file that will NOT be executed by Windows.
The proper format for a web page on the internet is: set WWW_HOME= http://www.google.com
The proper format for an HTML file on your computer is: set WWW_HOME=g:\lynx\startpage.html
Or: set WWW_HOME=file://localhost/g:/lynx/startpage.html
If you do not set the WWW_HOME variable, Lynx will open the default Lynx Information website. If you choose this option, leave the "REM" in place in the batch file. The Lynx site has all the help files so you may want to use it as your starting page until you get familiar with Lynx.
I suggest that you leave the "REM" in the batch file until you can set the Lynx Information page as a bookmark. See below for setting bookmarks.
In Netscape, after you have clicked "View Source," use Ctrl+a to Select All, then Ctrl+c to copy the page. Paste it into your text editor and save it.
NOTE: Lynx will automatically shut down if you start it without being connected to the web, unless you have the home page set to an HTML file on your computer.
Enjoy using Lynx!