| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | aschwarz1309 AT att DOT net |
| To: | cygwin AT cygwin DOT com, fergus AT bonhard DOT uklinux DOT net |
| Subject: | Re: Moving to the Desktop |
| Date: | Mon, 24 Jan 2005 12:41:00 +0000 |
| Message-Id: | <012420051241.23319.41F4ECDC000BAA6B00005B172160466648C7CFCCCE969D0E99080C9C0E@att.net> |
| X-Authenticated-Sender: | YXNjaHdhcnoxMzA5QGF0dC5uZXQ= |
'cygpath -d' returns a Dos path. If you are executing in a Cygwin shell you should retrieve a Unix path. Try:
cygpath -u <dos or windows address>
However, to be generic (your question) you have to give cygpath the path to the Desktop - which was your original question. In Win200x, WinXP, and I think WinNT, the desktop is user specific, and not global to all user's. To get the path:
/cygdrive/c/Documents\ and\ Settings/<user account name>/Desktop/
If it's for the current Cygwin user, try:
/cygdrive/c/Documents\ and\ Settings/`whoami`/Desktop/
Change '/cygdrive/c' to represent the actual drive containing 'Documents\ and\ Settings'.
art
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |