Moving to the Desktop

aschwarz1309@att.net aschwarz1309@att.net
Mon Jan 24 14:40:00 GMT 2005


'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/



More information about the Cygwin mailing list