This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Moving to the Desktop
- From: aschwarz1309 at att dot net
- To: cygwin at cygwin dot com, fergus at bonhard dot uklinux dot net
- Date: Mon, 24 Jan 2005 12:41:00 +0000
- Subject: Re: Moving to the Desktop
'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/