Hi,

I remotely want to check if a .ddl exist (in c:\winnt\system32) on about 120 workstations.

I have the following code but it doesn't seem to work:

---------------------------------------------
Break on
CLS

$input = "V:\afdeling\asb\rene\sysybtndll\werkstations.txt"
$output = "V:\afdeling\asb\rene\sysybtndll\dll.txt"

IF OPEN(1,$input,2) = 0
IF OPEN(2,$output,5) = 0
ELSE
?" Error try again"
GOTO END
ENDIF
$Werkstation = ReadLine(1)
WHILE @error = 0
$DLL = EXIST ("\\" + $Werkstation + "\c:\winnt\system32\sysybnt.dll")
IF @error = 0
$nul = WriteLine(2,$Werkstation + chr(13) +chr(10))
ELSE
$nul = WriteLine(2,$Werkstation + "DLL dont exists" +chr(13) +chr(10))
ENDIF
$Werkstation = ReadLine(1)
LOOP
ELSE
?"Werkstations.txt dont exist!"
EXIT
ENDIF
$nul = Close(2)
:END
$nul = Close(1)
EXIT
---------------------------------------------

Can somebody please help me??

Rene