home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
fnkst221.zip
/
find-dll.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-09-16
|
2KB
|
84 lines
/* Kontrolle, ob die benoetigten DLL's fuer SlipLog */
/* vorhanden sind */
call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
call SysLoadFuncs
cls
say
say
say "Ich durchsuche jetzt alle Laufwerke! bitte warten...!"
z=0
tempfile = "leider nichts"
drives=SysDriveMap(,local)
DO FOREVER
z=z+1
drive.z= LEFT(drives,2)
info_lw=SysDriveInfo(drive.z)
PARSE VAR info_lw drv frei gesamt label
IF (info_lw = "") | (frei = 0) then /* CD-ROM LW ?*/
z = z -1
IF LENGTH(drives) = 2 THEN /* letztes LW */
DO
drive.0=z
LEAVE
END
drives=RIGHT(drives,(LENGTH(drives)-3))
END
DO z=1 to drive.0
call SysFileTree drive.z||"dde4mui.dll", "files."||z||".", "FSO"
END
DO z=1 to drive.0
DO i=1 to files.z.0
PARSE VAR files.z.i tempfile
END
END
say
say "Ich habe "||tempfile||" gefunden."
IF tempfile="leider nichts" then
say "Du musst dir noch die Datei DDE4MUI.DLL besorgen."
else
say "Steht dieser Path auch im Lib-Path?"
tempfile="leider nichts"
DO z=1 to drive.0
call SysFileTree drive.z||"dde4cc.dll", "files."||z||".", "FSO"
END
DO z=1 to drive.0
DO i=1 to files.z.0
PARSE VAR files.z.i tempfile
END
END
say "Ich habe "||tempfile||" gefunden."
IF tempfile="leider nichts" then
say "Du musst dir noch die Datei DDE4CC.DLL besorgen."
else
say "Steht dieser Path auch im Lib-Path?"
tempfile="leider nichts"
DO z=1 to drive.0
call SysFileTree drive.z||"dde4mbs.dll", "files."||z||".", "FSO"
END
DO z=1 to drive.0
DO i=1 to files.z.0
PARSE VAR files.z.i tempfile
END
END
say "Ich habe "||tempfile||" gefunden."
IF tempfile="leider nichts" then
say "Du musst dir noch die Datei DDE4MBS.DLL besorgen."
else
say "Steht dieser Path auch im Lib-Path?"
say
exit