home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
cby_pm11.zip
/
cby_inst.cmd
next >
Wrap
OS/2 REXX Batch file
|
1996-01-29
|
1KB
|
33 lines
/************************************/
/* */
/* Snake-Byte Incorporated */
/* Copyright (c) 1996 */
/* */
/* Fanatic's Companion */
/* Installation Script */
/* */
/* */
/************************************/
call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
call SysLoadFuncs
say "Creating a desktop object...Please Wait..."
rc = SysFileTree("cby_pm11.exe", fspec, "FO")
if rc=0 then
do
filename=filespec("Name", fspec.1)
filepath=filespec("Path", fspec.1)
filedrive=filespec("Drive", fspec.1)
if SysCreateObject("WPProgram", "Cowboy Fanatic's Companion",,
"<WP_DESKTOP>", "EXENAME="filedrive||filepath||filename,
";STARTUPDIR="||filedrive||filepath, "replace") then
say "The desktop object was successfully created."
exit
end