I was about to bring that up... This pc for example has been set by group policy to have "My Documents" point to "D:\" for re-imaging reasons. Yet no environmental variable shows that. BTW, type "SET" by itself at a command prompt to see which env. variables are set - they do vary amount versions of Windows. Also correct on the %HOMEPATH%, you would need %HOMEDRIVE%%HOMEPATH%\Documents\ for the full path, unless the above applies... Robert
>>> "Holt, Jake" <[email protected]> 3/4/2010 11:30 AM >>> I don't think it works if the user moves their documents/My documents anyway so it's probably not the best place to be dropping files. I've always avoided it unless it's a .net app where I can use Environment.SpecialFolder.MyDocuments, even then I've only used it once or twice for unimportant things. %HOMEPATH% actually goes to \Documents and Settings\{username} not {drive}:\Documents and Settings\{username} which is why it's not working the same as %USERPROFILE%. Make a network share and use \\server\share\%username% instead =). -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kevin King Sent: Thursday, March 04, 2010 9:59 AM To: U2 Users List Subject: Re: [U2] windows/dos my documents environment variable ...Or moved it back to where it was in XP. I wonder what it's like to be in on the design meeting where someone says "hey, let's just move stuff in this next release, k?". _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
