Michael Kaply wrote:
> Nicky Morrow wrote:
>
>> PATH and LIBPATH ? Why? Please don't...
>
>
> Believe it or not, some people want to be able to run the browser from a
> command line and don't want to write a million CMD files.
it really only takes ONE CMD file ;) off the top of my head...
/* Start Mozilla */
parse arg params
MozEXEPath=SysINI('USER','mozilla','exe')
MozHOMEPath=SysINI('USER','Mozilla','home')
'set beginlibpath='MozEXEPath
'set Mozilla_HOME='MozHomePath
'call mozilla 'params
if rc<>0 then say 'Mozilla returned code: 'rc
exit
Now when this is put on the path somewhere... ANYWHERE, it can
immediately use the INI settings to start mozilla by typing...
mozilla
at any prompt.
Notice that this batch requires ZERO changes if mozilla moves. It also
eliminates the need for CONFIG.SYS changes (ie, REBOOTING)
--
|\
__| \ ___ Duane Chamblee
/ |__/ President
\__| \___ dAcDigital Co.