Actually, what seems to work on Vista is %USERPROFILE%/Documents/ - a mixture of previous suggestions!
Ed -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Keith Conley Sent: 04 March 2010 15:20 To: U2 Users List Subject: Re: [U2] windows/dos my documents environment variable So I think what you are actually looking for would be: %homepath%/Documents/ If you were to type that into the Run line, it would take you to the My Documents folder for the currently logged in user. Keith -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Keith Conley Sent: Thursday, March 04, 2010 9:17 AM To: U2 Users List Subject: Re: [U2] windows/dos my documents environment variable Hi Dave, I think what you are looking for are these variables: %WINDIR% or %SYSTEMROOT%: opens the Windows installation %PROGRAMFILES%: Opens the folder where you installed other programs (Program Files) %USERPROFILE%: opens the profile of the user currently logged %HOMEDRIVE%: opens the browser on the partition or the operating system is installed %HOMEPATH%: opens the currently logged user C: \ Documents and Settings \ [username] %TEMP%: opens the temporary folder Keith Conley IS Manager Jerry Pate Turf & Irrigation, Inc. -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: Thursday, March 04, 2010 9:11 AM To: u2-users@listserver.u2ug.org Subject: [U2] windows/dos my documents environment variable I know this is not a U2 question, but I am trying to push a file from Unidata to the PC User's 'my documents' directory, using the Accuterm escape sequences for transferring a file. For those of you who are Dos savvy, what is the Dos environment variable that returns the full path of the users 'my documents' directory? Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com "Delivering Products, Services and Innovative Solutions" _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users CONFIDENTIALITY NOTICE: This electronic mail transmission is intended only for use by the addressee(s) named herein and may contain information that is confidential, privileged, or proprietary. Distribution to anyone other than the addressee is prohibited. If you are not the intended recipient, you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please permanently delete this message and any attachments without reading the content and notify the sender immediately of the inadvertent transmission. _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ------------------------------------------------------------------------------------------- This e-mail and any attachment(s), is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the addressee, dissemination, copying or use of this e-mail or any of its content is prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail, any attachment(s) and any copies. All liability for viruses is excluded to the fullest extent permitted by law. It is your responsibility to scan or otherwise check this email and any attachment(s). Unless otherwise stated (i) views expressed in this message are those of the individual sender (ii) no contract may be construed by this e-mail. Emails may be monitored and you are taken to consent to this monitoring. Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 01628868 Both companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR. ------------------------------------------------------------------------------------------- _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users