summaryrefslogtreecommitdiff
path: root/gwblog.bas
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2016-11-12 14:58:04 -0500
committerJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2016-11-12 14:58:04 -0500
commit5f7b8890edc8ae965dd19d2c9a288c1a164a1ed4 (patch)
tree26d0dfb851c4600ee0c8348f27adeb6f60467401 /gwblog.bas
parentf31d5f687cac2dcbebe770dab86f71702b9a3ba3 (diff)
downloadgwblog-5f7b8890edc8ae965dd19d2c9a288c1a164a1ed4.tar.gz
gwblog-5f7b8890edc8ae965dd19d2c9a288c1a164a1ed4.zip
Updated batch file to accept the location of blog files.
Diffstat (limited to 'gwblog.bas')
-rw-r--r--gwblog.bas12
1 files changed, 10 insertions, 2 deletions
diff --git a/gwblog.bas b/gwblog.bas
index e5dadb3..e61b49d 100644
--- a/gwblog.bas
+++ b/gwblog.bas
@@ -1,5 +1,13 @@
-10 REM SITEDIR$ = "E:\GWB\GWBLOG\TEST"
-20 SITEDIR$ = "E:\BLOG"
+10 REM ========================
+11 REM The path to the blog
+12 REM should be stored in
+13 REM SITEDIR$. This string
+14 REM is auto-assigned by the
+15 REM calling batch file
+16 REM GO.BAT
+17 REM ========================
+20 REM
+30 IF RIGHT$(SITEDIR$,1) = "\" THEN SITEDIR$ = LEFT$(SITEDIR$, LEN(SITEDIR$)-1)
500 REM =======================
501 REM Startup Code
502 REM =======================