home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 21 / CD_ASCQ_21_040595.iso / dos / prg / c / freedos3 / source / swsubst / swsubst.frd < prev    next >
Encoding:
Text File  |  1994-12-21  |  1.3 KB  |  30 lines

  1. Changes of the SWSUBST Free-DOS Hack:
  2.  
  3. ++ SWSUBST will allow only the three DOS'ish formats of SUBST/JOIN,
  4.    see "Difference to DOS's SUBST and JOIN" Points 1) and 2).
  5. ++ a JOIN can only be made by renaming the executable to JOIN.
  6. ++ The executable may be renamed to "subst.exe", the internal logic
  7.    says: If the name is "JOIN" perform JOIN, otherwise perfom SUBST
  8.    as standard.
  9. ++ If the special option "dosish" is true (standard), english texts are
  10.    displayed.
  11. ++ If one of the following environment variables is set :
  12.     SKAUS17, SKAUS17A, or SKAUS17A2
  13.    SWSUBST do not set the special option "dosish" by default & allows,
  14.    therefore, the full functionality.
  15. ++ To pklite the EXE:
  16.     1) extract the text file from swsubst.exe at position 55520,
  17.        ">>0\n" shall be placed there;
  18.     2) set the swsubst.exe file length to 55520;
  19.     3) compress the EXE;
  20.     4) note the new file length down;
  21.     5) uncompress the EXE;
  22.     6) modify the long int at position 0xcf64 (0xd8e0 old value) to
  23.        the new file length;
  24.     7) compress again (now the file length has changed, so retry or
  25.        add a little space);
  26.     8) append the extracted texts file to the compressed EXE,
  27.        last byte should be ^Z (ASCII 26 -- End of Text);
  28.     9) test with both: "swsubst /?" and "swsubst a /////",
  29.        both emit different error message types!
  30.