You're viewing a comment by Miles and its responses.

December 14, 2010, 18:02

"...different Windows versions (care to see your code blow up on XP?), all of these make your code unportable. If you change every C:\Users\%USERNAME%\AppData\Local instance to %LOCALAPPDATA% then your code will be portable and my eyes will stop bleeding!"

No need to be hatin' on Peteris, especially since your %LOCALAPPDATA% suggestion doesn't work in XP by default. That variable was first introduced in Vista, and needs to be added manually in XP for your tip to work:

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.