home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
pmdmatch.zip
/
PMDSetup.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-03-14
|
1KB
|
48 lines
/* Set up a PMDMatch OS/2 icon */
call rxfuncadd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
call SysLoadFuncs
call SysCls
say ""
say ""
say ""
say ""
say ""
say "Please enter the full path name of the PMDMatch directory,"
say "where the PMDMatch.exe will be found."
say ""
say "Example: C:\MYAPPS\PMDMatch"
say ""
say "Do NOT include trailing \"
say ""
say "(Type carefully)"
say ""
parse pull DirName
DirName=strip(DirName,,'"')
MyLine1="EXENAME="DirName"\PMDMatch.exe;"
MyLine2="STARTUPDIR="DirName";"
MyLine3="OBJECTID=<PMDMatch>;"
MyLine4="HELPLIBRARY="'"'DirName"\PMDMatch.hlp"'"'";"
MyLine5="HELPPANEL=29918;"
/*
say MyLine1
say MyLine2
say MyLine3
say MyLine4
say MyLine5
*/
say ""
if SysCreateObject('WPProgram',,
'PMDMatch',,
'<WP_DESKTOP>',,
MyLine1||MyLine2||MyLine3||MyLine4||MyLine5,,
'REPLACE:') then
say "PMDMatch object successfully created"
else
say "Problem creating PMDMatch object; please contact the author"