Jeff
>I have a program compiled in VFP6 SP5 that tests if the system32 folder exists off of the windows home folder with code like:
>
try it:
cWinFolder = "C:\WINNT\system32\AUTMGR32.EXE"
IF file(cWinFolder)
ELSE
ENDIF
Certainlly, there is better solution using windows script.. But, this one is simpler than..
BTW, The folder winnt/system32 has the system attribute set to .T.
Directory() doesn't come .T. for this folder (here in my machine).. But, FILE() does.. I'm not shure if it will work for you..
HTH
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20