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


> Can anybody help with a single keyboard command that would move the
> user to the Desktop, usable across all systems?

Well, the following THREE commands will work on any system, and then you can easily reference the user's desktop:

mkdir /desktop
foo=`cygpath -D -w`
mount -u [-b|-t] "$foo" /desktop

now "cd /desktop" Just Works(tm).

--
Chuck

--
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]