This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]