I have a simple program that I use FileLen to detemine if I found a file of a given name. It all works nicely BUT, if I do not set Sandbox mode to 2 in the registry, it will not work at all. I need to give this program to a user and I do not want to be editing registries on a regular basis.
I want a way to enable the FileLen function without changing the registry. I am also open to a different command that can solve my issue. I only need to know if it found the file or not. Maybe IfExist if there is such a thing.