Hi, thank you very much for the attention and reply.
What I'm trying to do here is to test if C:\Program Files\Data folder exists, if yes, then do something; otherwise just exit.. This way it'll avoid a crash if that folder doesn't exist.
Our installer is suppsed to install Data folder there, so normally the folder should be there. However it happens if someone renames it or delete it, we need to test the existency of the Data folder...
Now if I renamed Data folder to abcData or Data_ (its name still contains "Data") running as admin would tell us Data folder doesn't exist, which is correct; however running as non-admin would tell us Data folder exists! which is wrong, and there is no exception thrown. But if renamed Data folder to something like "sdflsd", and both non-admin & admin would tell us Data folder doesn't exist - correct..
Wondering if there is a software bug...