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 From: "Gary R. Van Sickle" To: "'Cygwin mailing list'" Subject: RE: Useful Cygwinism: "Explorer Here" Date: Sat, 29 Jun 2002 01:25:37 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <003501c21e91$ff97e0f0$0200a8c0@lifelesswks> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal > > -----Original Message----- > > From: cygwin-owner AT cygwin DOT com > > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Gary R. Van Sickle > > Sent: Friday, 28 June 2002 2:06 PM > > > The Solution: > > A tiny little alias I like to call "Explorer Here". Add this > > little gem to your > > .bash_profile, and wipe that sweat from your brow my friend!: > > Have you tried 'cygstart ' - ie > $ cygstart . > Well, that works too, as does "explorer .". But I say, why walk when you can ride? My "x" solution has some definite advantages: 1. Just about the absolute minimum amount of typing possible[1]. "x" is more than 5 times less typing than "cygstart ."; just imagine how much longer your fingers are going to last with *five times less* keypunching! 2. In the most common case when you don't specify a path and want the current directory, no intervening program is executed. For whatever that's worth. 3. Results in no "why does it say 'cygstart: command not found' when I type 'x'?" issues. 4. I didn't know about cygstart ;-). Looking at it, it may well be worth putting it in the 'path given' case, so it'll not only open directories in explorer, but anything and everything you give it. Hmmmm, keep an eye out for "Explorer Here II".... [1] That's bait to get somebody to tell me, "oh yeah, well put this in your .whateverrc file and do it in ONE keypress!" ;-) -- Gary R. Van Sickle Brewer. Patriot. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/