The path it should be returing is C:\ProgramData but it's returning C:\Users\All Users\*BULLSHITE*
I don't have Vista, but how about creating this folder if it doesn't exist, then creating your sub-folder if that's successful? I assume it's just telling you where it's expecting to find what you're asking for.
Even if you get a different returned path on different systems, it should always be the same for the individual system it's running on, surely?
I mean this sort of thing...
mygame$ = "RocketGame" path$ = ReturnedAllUsersPath () ' Result: ' path$ = "C:\ProgramData" ' path$ = "C:\Users\All Users\Whatever" If FileSize (path$) = -1 ; Doesn't exist CreateDir (path$) EndIf If CreateDir (path$ + mygame$) ' Etc... ' Result... ' "C:\ProgramData\RocketGame" ' "C:\Users\All Users\Whatever\RocketGame"