coppro wrote:
There is an environment variable called %HOMEPATH% that is available to indicate where the user's home path is.
Just that no one uses it.
I stand corrected. You learn something new every day. I guess convention is working more against Windows apps than an actual difficulty in doing it right.
It's probably a bit of a chicken-and-egg problem, too. As long as even as much as 10% of the apps out there write to their installation directory, you can't easily design the OS to prevent it (and still have it marketable). But as long as the OS allows it, all the novice programmers and a good chunk of the professional programmers will tend to write apps this way.
In that sense, any fix to the problem is likely to be an odd and convoluted one, as Vista's seems to be. Eventually, with writing to the install directory being so badly broken, new software will start working the right way, I guess. It would have been better if the OS had been designed from the start to properly separate user data from system files and from each other, but it would have taken a good amount of prescience for the DOS programmers to anticipate how their OS's evolution would ultimately be used.
I guess I just use Linux because it already works better. I don't have to deal with a hairy beast transitional type operating system like Vista before the "
right"
OS comes out. (Not that I'm admitting that Vista is fixing more than it's breaking.)
____________________________
I was charged with conspiracy to commit jay-walking, and accessory to changing lanes without signaling after the fact
.
++Adam H. Peterson