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