home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
OS2
/
JOVW122B.ZIP
/
jvwinstl.cmd
< prev
Wrap
OS/2 REXX Batch file
|
1994-03-17
|
1KB
|
35 lines
/* JoeView Installation REXX script */
Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
Call SysLoadFuncs
currentdirectory = DIRECTORY()
IF SUBSTR( currentdirectory, LENGTH(currentdirectory), 1 ) <> "\"
THEN currentdirectory = currentdirectory || "\"
Call SysCls
Call SysCurState 'ON'
CALL SysFileTree currentdirectory'JoeView.exe', file, F
If file.0 = 0 Then
Do
Say
Say
Say
Say "This utility must be run in the same directory as JoeView.exe"
Exit
End
Say
Say
Say
title = "JoeView 1.22b"
classname = 'WPProgram'
location = '<WP_DESKTOP>'
filter= '*.GIF,*.JPG,*.JPEG,*.BMP,*.TGA,*.PBM,*.PGM,*.PPM,*.TIF,*.TIFF,*.RLE,*.MET,*.PCX,*.X11,*.RAS,*.SLS;'
setup = 'EXENAME='currentdirectory'JoeView.exe;STARTUPDIR=;PROGTYPE=PM;ASSOCFILTER='filter
option = 'update'
Say "Creating JoeView 1.22b Program Object..."
rc = SysCreateObject(classname, title, location, setup, option)
Say ""
Say 'All better now'
Say 'You should take the *.BMP association off of the icon editor, if'
Say 'you have not done so already.'
Exit