home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freesoft 1997 May
/
Freesoft_1997-05_cd.bin
/
inzer
/
minolta
/
Minolta
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-05-04
|
645b
|
17 lines
/* This is the outer level script. */
/* It runs its own name on the inner directory */
/* Get the directory that this script is in */
PARSE SOURCE cmdDir
cmdDir=WORD(cmdDir,WORDS(cmdDir)) /* The command line string */
Command=SUBSTR(cmdDir,LASTPOS('\',cmdDir)+1) /* The command name itself */
cmdDir=LEFT(cmdDir,LASTPOS('\',cmdDir)-1) /* The path to this command */
/* This is where the product name would be placed: */
/* Beware of trailing space as padding for zapping! */
Product='Minolta'
/* Now, we run the install script that is in the product directory */
cmd='@CALL' cmdDir'\'Product'\'Command
cmd