Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41F713EE.4000707@cwilson.fastmail.fm> Date: Tue, 25 Jan 2005 22:52:14 -0500 From: Charles Wilson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Moving to the Desktop References: <012420051241 DOT 23319 DOT 41F4ECDC000BAA6B00005B172160466648C7CFCCCE969D0E99080C9C0E AT att DOT net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > 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/