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: <3D1C24E7.2080304@mscha.org> Date: Fri, 28 Jun 2002 10:57:11 +0200 From: Michael Schaap User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cygwin mailing list Subject: Re: Useful Cygwinism: "Explorer Here" References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: at mscha.org by amavisd-milter (http://amavis.org/) On 28-6-2002 6:06, Gary R. Van Sickle wrote: ># Easy "Explorer Here" command >x() >{ > if [ "${1}" = "" ]; > then > XPATH="."; > else > XPATH="$(cygpath -w "${1}")"; > fi > explorer $XPATH & >} > Easier (and faster), if you have the cygutils package installed: x() { cygstart ${1:-.} } Or, if you prefer the two-pane layout (and haven't set it as the default): x() { cygstart --explore ${1:-.} } - Michael -- 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/