Would anyone happen to know why this error in Windows NT server occured. I debuged the code and it get the error in this section of the code.
code:

;------Finds an Superdat in the Server path
$sdatName=Dir($ServPath + "sdat*.exe")
;------Look for a more recent superdat
While $sdatName <>"" And @ERROR = 0
If $sdatname <>""
$sname=$sdatname
EndIf
$sdatName=Dir() ; retrieve next file
Loop

;------Find an Extra dat file in the server path
$XdatName=Dir($ServPath + "*xdat.exe",0)
;------Look for a more recent extra dat file
While $XDatName <>"" And @ERROR = 0
If $XDatname <>""
$Xname=$XDatname
EndIf
$XDatName=Dir() ; retrieve next file
Loop

;------Look for the available engine version
$EngName=Dir($ServPath + "*eng.exe",1)
;------Look for a more recent Engine file
While $EngName <>"" And @ERROR = 0
If $EngName <>""
$Ename=$EngName
EndIf
$EngName=Dir() ; retrieve next file
Loop



It errors out on the engine name only. The xdat and the sdat pick up fine.
Tha actual error code is
Exception: access violation (0xc0000005), address 0x77f6ce4c by kix32.exe

Thanks Will

_________________________
You have at least 2 choices. Each choice changes your destiny. Choose wisely!