about summary refs log tree commit diff stats
path: root/samples/oldlynx.bat
diff options
context:
space:
mode:
Diffstat (limited to 'samples/oldlynx.bat')
-rw-r--r--samples/oldlynx.bat10
1 files changed, 5 insertions, 5 deletions
diff --git a/samples/oldlynx.bat b/samples/oldlynx.bat
index 955ae992..c45a8216 100644
--- a/samples/oldlynx.bat
+++ b/samples/oldlynx.bat
@@ -1,13 +1,13 @@
 @ECHO OFF

-@rem $LynxId: oldlynx.bat,v 1.3 2013/10/17 09:38:40 tom Exp $

+@rem $LynxId: oldlynx.bat,v 1.4 2018/03/12 09:07:29 tom Exp $

 @rem demonstrate lynx without color-style -TD

 setlocal

 

 set TERM=vt100

-set HOME=%CD%

-set TEMP=%HOME%\tmp

+set HOME=%~dp0

+set TEMP=%HOME%tmp

 

-set LYNX_CFG=%HOME%\oldlynx.cfg

+set LYNX_CFG=%HOME%oldlynx.cfg

 set LYNX_LSS=

 

 if exist "%LYNX_CFG%" goto done

@@ -18,5 +18,5 @@ echo "COLOR_STYLE:"          >>"%LYNX_CFG%"
 echo "NESTED_TABLES:off"     >>"%LYNX_CFG%"

 

 :done

-"%HOME%\lynx.exe" -lss="" %1 %2 %3 %4 %5 %6 %7 %8 %9

+"%HOME%lynx.exe" -lss="" %1 %2 %3 %4 %5 %6 %7 %8 %9

 endlocal