MH|<yawn> Although I'm a great fan of UU- and XXencoding--*IN
  |MODERATION*--because they're so much more efficient than DEBUG
  |scripts, I'm getting awfully tried of paying good money to download
  |Rob Flor's P2E V1.62 every two weeks or so because:
  |
  |(1) Most of what it does can be more easily done in 4DOS. (Got to keep
  |this on topic! <g>)
  |
  |(2) The author pointedly refuses to make his programs compatible with
  |4DOS, DR DOS, etc.

  |MW>so people that only have debug can decode them.
  |
  |Alas DR DOS users do not have even that.

Perhaps there is a case for the 4DOS echo coming up with its own
encoding scheme, given the obvious interest ?

Having seen XX34SCR.BAT, I would have thought it pretty simple to
convert to a MUCH more versatile BTM file, using TEXT...ENDTEXT instead
of that clumsy DEBUG < %0, and which would also be able to detect
MDOS/DR-DOS differences, and pipe an appropriate script to DEBUG or SID.

______________________________O\/_____________________________________
                              O/\

::: This is the outline of what I mean.  IT IS NOT COMPLETE.

::: Save XX34SCR.BTM as ASCII text.  To decode: type XX34SCR
:::
:@echo off
setlocal

set XXDATA=%@UNIQUE[.\]

text >! %XXDATA%
*XX3401-002104-150992--72--85-23639-E-----XX34E.COM--1-OF--1
*
* Put the XX encoded stuff here
*
***** END OF XX-BLOCK *****
endtext

ver /r | (
    input %%a
    input %%a
    input %%b
)

iff "%@WORD[2,%a]" EQ "DR-DOS" then

text | y %XXDATA% | sid
;
; This would be the SID script
;
q
endtext

elseiff "%_DOS" EQ "DOS" then

text | y %XXDATA% | debug
;
; And this would be the DEBUG script
;
q
endtext

else

echo Please run %0 under 4DOS, and not under 4%_DOS.  Thank you.

endiff

del /Q %XXDATA%

quit
______________________________O\/_____________________________________
                              O/\

