Subject PF (x86)
From Steve <nospam@nospam.com>
Date Mon, 04 Feb 2019 20:53:19 -0500
Newsgroups dbase.getting-started

I use the code below to detect whether pf(x86) exists, but keep getting NOT found as a result even tho it is there in File Explorer.  This folder is there, and properties do not indicate hidden.  Anyone know what I am doing wrong?

#define isDir(cDir) (not empty(funique(cDir+"\isdir???.???")))
* testing.prg
cIniDir = "C:\Program Files (x86)"
IF isdir(cinidir)
   msgbox("found")
else
    msgbox("NOT found")
endif
return