From 83561b1acfb603967f0f598adb6f315db0608c33 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Fri, 20 Jun 2025 08:21:28 -0400 Subject: Added convenience routine for looking up a label-replacement pair that remains unused. Fixed the RSS feed a bit for conformance. Added batch commands on windows to strip BASIC EOF character from files after building during the lowercasing step. --- go-w32.bat | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'go-w32.bat') diff --git a/go-w32.bat b/go-w32.bat index 8dd01ff..dbdcd7b 100644 --- a/go-w32.bat +++ b/go-w32.bat @@ -2,7 +2,10 @@ ECHO OFF ECHO GW-Blog by Jeff Armstrong IF NOT EXIST %1\POSTHDR.HTM GOTO NOLABEL -ECHO 1 SITEDIR$="%1":LFN=1 >> LOC.BAS + +REM Setting LFN to 0 because 3-letter extensions are only supported +REM by PC-Basic +ECHO 1 SITEDIR$="%1":LFN=0 >> LOC.BAS ECHO -- ECHO Creating the main BASIC program @@ -34,7 +37,12 @@ GOTO DONE ECHO Converting output to lowercase SET CurrentDir=%CD% CD %1\build -for /f "Tokens=*" %%f in ('dir /l/b/a-d') do (rename "%%f" "%%f") +for /f "Tokens=*" %%f in ('dir /l/b/a-d') do ( + rename "%%f" temp.txt + copy temp.txt /a "%%f" /b + del temp.txt +) +REM rename "%%f" "%%f") CD %CurrentDir% :DONE -- cgit v1.2.3