home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
eeedit22.zip
/
enhanced.zip
/
PrePlug.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
2001-04-15
|
754b
|
20 lines
/* PrePlugin for the Enhanced E */
/* Tries to locate an existing installation */
/* */
/* The editor stores it's location here */
rc = Sysini('USER', 'EEE', 'Directory')
/* If not ERROR: then it should be a good directory */
if rc <> 'ERROR:' then do
/* Set the InstDir variable to the new directory */
InstDir = rc
/* Set the entry field to the new directory */
CALL VpSetItemValue DirWin,1003,InstDir
end
/* Add a line to your PostPlug to delete this file */
/* ex: rc = SysFileDelete(InstDir||'\PrePlug.cmd') */
/* It should work seamlessly with the user */
/* thinking that you are a genius! */