I would suggest to the person having this problem to use Process Monitor (link below) to log file accesses that are done when running fossil ui.

It will show exactly where windows is trying to load fossil from and what exact problems it encounters while doing so. It might well be something else than a path problem, like a permission problem of some sort.