[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: RE Date variables in Xy III
- Subject: Re: RE Date variables in Xy III
- From: "Robert Holmgren" holmgren@xxxxxxxx
- Date: Wed, 22 Oct 2003 13:14:28 -0400
** Reply to message from Patricia M Godfrey on Wed, 22 Oct
2003 10:37:07 -0400
Patricia:
> Then I turned up an old floppy with Xy III on it, and thought
> if I put Xy3 on a floppy ...
While it's true that a full Xy4 installation won't fit on a floppy, all you
in fact need is Editor and a STARTUP.INT file. Nothing else. So use Xy4!
The whole thing fits easily on one half of a floppy. Furthermore, instead of
merging and cutting and pasting, just write BACKUP.BAT directly in XyWrite.
Put BACKUP.BAT on the same diskette that has Xy4 on it. Tons of space remain
on the floppy... much simpler. Now your techo-challenged insert the diskette,
issue one command, such as COPY.BAT, and they're all done.
Put three files on your 1.44Mb floppy:
EDITOR.EXE (v4.018)
COPY.BAT
STARTUP.INT
Here's COPY.BAT:
---------------------
@echo off
if exist A:\BACKUP.BAT del A:\BACKUP.BAT
A:\EDITOR.EXE
if not exist A:\BACKUP.BAT echo Error creating A:\BACKUP.BAT
if not exist A:\BACKUP.BAT goto exit
call A:\BACKUP.BAT
:exit
---------------------
And here's STARTUP.INT (in pseudo-code form; real ENCODEd
version appears below):
---------------------
BX a:Q2 ;*;
BX cd \Q2 ;*;
>BX es 1Q2 ;*;
BX ne a:\backup.batQ2 BX waitQ2 GT ;*;
@echo off
d:
if not exist d:\ mkdir d:\
chdir d:\
;*;
;*; MErge -- or just WRITE DIRECTLY HERE, like the commands
;*; above -- the rest of your BATch file commands (XCOPY,
;*; DIRECTCD, etc.)
;*;
BX st/nvQ2 BX waitQ2 ;*;
BX quit/nvQ2 ;*;
---------------------
Just tried it with a floppy. Works perfectly. You try it:
you'll end up in D:\20031022 (or whatever), ready to issue copy
and backup commands (which just need to be filled into the
STARTUP.INT template above). Simple.
R.
XPLeNCODE v2.0
b-gin [UNTITLED]
[BX_]A:[Q2_];*;[cr|lf][BX_]cd \[Q2_];*;[cr|lf]{<}SX01,{<}VA$D
Ayyymmdd{>}{>}[BX_]es 1[Q2_];*;[cr|lf][BX_]ne a:\backup.bat[Q
2_][BX_]wait[Q2_][GT_];*;[cr|lf]@echo off[cr|lf]d:[cr|lf]if n
ot exist d:\{<}GT01{>} mkdir d:\{<}GT01{>}[cr|lf]chdir d:\{<}
GT01{>}[cr|lf];*;[cr|lf];*; MErge -- or just WRITE DIRECTLY H
ERE, like the commands[cr|lf];*; above -- the rest of your BA
Tch file commands (XCOPY etc.)[cr|lf];*;[cr|lf][BX_]st/nv[Q2_
][BX_]wait[Q2_];*;[cr|lf][BX_]quit/nv[Q2_];*;[cr|lf]{<}EX1{>}
[cr|lf]
-nd
XPLeNCODE
-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------