home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ddkx86v1.zip
/
DDKX86
/
setup
/
COPYASM6.CMD
next >
Wrap
OS/2 REXX Batch file
|
1995-04-10
|
1KB
|
63 lines
/* */
parse upper arg masm60 basename .
parse source . . command .
command = FILESPEC( 'Name', command )
i = POS( '.', command )
if i <> 0 then
command = substr( command, 1, i - 1 )
if masm60 = '' then
do
say
say 'Usage:' command 'MASM60PATH DDKPATH'
say
say ' Where:'
say ' MASM60PATH is the path to the Microsoft MASM 6.0 directory.'
say ' e.g. C:\MASM'
say
say ' DDKPATH is the path where the DDK has been installed. '
say ' e.g. D:\DDKx86'
exit
end
exes.1 = 'ML.EXE'
exes.2 = 'ML.ERR'
exes.0 = 2
'MD' basename'\MASM60\BINP'
do i = 1 to exes.0
'COPY' masm60'\BINP\'exes.i basename'\MASM60\BINP /V'
if rc <> 0 then
do
say
say 'Unable to copy' masm60'\BINP\'exes.i 'to' basename'\MASM60\BINP'
say 'Executable file bypassed.'
say
end
end
'MD' basename'\MASM60\INCLUDE'
'COPY' masm60'\INCLUDE\CMACROS.INC' basename'\MASM60\INCLUDE /V'
exit