[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Saving to USB drives from VDOS
- Subject: Re: Saving to USB drives from VDOS
- From: "Carl Distefano" cld@xxxxxxxx
- Date: Sat, 7 May 2016 20:48:20 -0400
Reply to note from "Paul Breeze"
(Redacted sender "paul.breeze" for DMARC) Sat, 07 May 2016 15:54:29
+0100
Paul,
I see now where I steered you wrong. Here's a different, also U2-based,
solution that I've actually tested, successfully, with a USB drive.
The new usage is SAA. This does a normal SAve and also copies
the file to an alternate Windows drive. Any valid Windows drive should
work. You can specify the drive on the CMline, SAA D:, or set
it in in XYWWWEB.REG, with user variable SAA_to. Here are some examples
of valid REG settings:
SAA_to=d
SAA_to=d:
SAA_to=d:\
SAA_to=d:\path
Here's the code for U2 (not REG). Paste it into XyWrite, command
DEC to decode, then DeFine it and issue ADD2U2 to add
to U2:
XPLeNCODE v2.0 (ENCODE.A3X)
b-gin [UNTITLED]
{123}{123}5saa{125}{125} SAve file and copy to alternate drive
\directory[cr|lf]{002};*;[cr|lf];*; Usage:[cr|lf];*; SAA {091}
d:\path{093}[cr|lf];*;[cr|lf];*; d:\path may be omit
ted if User Variable SAA_to is set in XYWWWEB.REG.[cr|lf];*; {032}
Examples of valid REG settings:[cr|lf];*; SAA_to=d[cr|lf];*;{032}
SAA_to=d:[cr|lf];*; SAA_to=d:\path[cr|lf];*;[cr|lf]{<}IF{<}V
A$WS{>}==1{>}{<}IF{<}VA$MO{>}>0{>}[BX_]sa[Q2_][BX_]wait[Q2_]{<}
EI{>};*;[cr|lf]{<}IF{<}VA|50{>}<1{>}{<}SV99,SAA_to{>}[JM_]2.Re
gData[Q2_]{<}SX50,{<}IS99{>}{>};*;[cr|lf]{<}IF{<}VA|50{>}==1{>}
{<}SX50,{<}IS50{>}{043}":"{>}{<}EI{>}{<}EI{>};*;[cr|lf]{<}IF{<}
VA|50{>}>0{>}{<}SX51,{<}VA$FP{>}{>}[BX_]dos/nv/x/z /c cmd.exe{032}
/c copy/y {<}PV51{>} {<}PV50{>}[Q2_][BX_]wait[Q2_]{<}EI{>}{<}P
RSAved{>}{<}EX{>}{<}EI{>}{<}PRNo File{>}{002}[cr|lf][cr|lf]
-nd
XPLeNCODE
Better?
--
Carl Distefano
cld@xxxxxxxx