Alternately, use the DOS "md" command to create a new subdirectory such as "pen" and copy the program there. Then use the DOS "cd" command to move to that directory whenever you use the program. You can use the program from any directory by adding the penknife subdirectory (e.g., ";C:\PEN") to your command path, which is normally set in AUTOEXEC.BAT.
penknife file.txt file.pen /e ^ ^ ^ ^ encipher | | resulting file | source file program namePenknife will announce itself, then ask for the User Key, twice. The User Key can be any sequence of characters, but a long unique text phrase is easier to remember than random characters. After getting the key, a 30K file should finish in a second or two. The result is a file of random-looking text lines which can be examined with your text editor or displayed with the DOS type command.
penknife file.pen *.res /d ^ ^ ^ ^ decipher | | resulting file (FILE.RES) | source file program namePenknife will again ask for the User Key twice, and this must be exactly the same key as was used to encipher the file. (An advanced Penknife alias file makes using keys much easier.)
penknife newfred.trn /a fred /gHere Mary creates a new key to Fred: "fred" is the alias which she will use for the new key. "newfred.trn" is the name Mary gives the file she will later transport to Fred (and she should have previously erased any existing file of that name). Penknife will generate a random key for alias "fred" and automatically place it at the start of Mary's closest alias file, or will create a new alias file.
Mary will be asked to enter the key for her alias file; this is the most-used and most-important key she will have, and should be a long unique phrase which she can remember.
Penknife will also place the new random key in NEWFRED.TRN, and Mary will enter "mary" as the far-end tag; this is the alias Fred will use for the new random key, once he installs the key in his own alias file. Mary will also enter another phrase to protect that file during transport.
penknife file.txt *.pen /e /a fredNow Mary only needs to enter a key once: the key for the alias file. Decipher is similar except using /d instead of /e.
penknife newfred.trn /d (then Fred enters the transport key) penknife newfred.trn /e (then Fred enter his alias-file key) copy penknife.mgt penmgt.old copy newfred.trn+penmgt.old penknife.mgtHere we assume that Fred is in his alias directory (which is usually the Penknife directory) and so will have direct access to the relevant alias file. Fred might have multiple alias files, in which case the last two commands would be modified and repeated for each alias file where the new alias is needed.
Use the PIF Editor (in Program Manager group Main) selections File, New to start a new definition. Then set Program Filename as the complete path to Penknife (e.g., "c:\pen\penknife.exe"). Optional Parameters and Start-up Directory should be empty. Video Memory should be "Text". Memory Requirements for KB Required and KB Desired should both be "150"; for both EMS and XMS memory, KB Required and KB Limit should be "0". Display Usage should be "Windowed", Close Window on Exit checked, and neither Background nor Exclusive Execution need be checked.
Of the Advanced Options, Uses High Memory Area need not be checked, but Emulate Text Mode should be. Then use the PIF Editor selections File, Save As to save the new file as PENKNIFE.PIF, in the same directory as Penknife (e.g., "c:\pen\penknife.pif").
The "PIF" file tells Windows how to set up the DOS window when Penknife is invoked. 4. Now Penknife can be started by double-clicking on the selected icon in Accessories, and then activated when desired with Ctrl-Alt-P, or Ctrl-Esc and Switch To.
If you have Advanced Penknife, it is better to establish an alias file to hold your keys. You can use public alias tags to select any of the keys, and you need only enter the one key for the alias file, once. A typical command would be: "/e c:\email\john01.ltr /a johnj" after you establish a key for "johnj".
Again, if you have Advanced Penknife, it is better to establish an alias file for your keys. Then "/d c:\email\fred1.msg /a fredw" will select the key for "fredw".