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 To: cygwin AT cygwin DOT com From: kurtz Subject: Re: [INFO] Adding "Cygwin here" to Windows Explorer Date: Mon, 20 Sep 2004 15:39:38 +0200 Lines: 14 Message-ID: References: <20040914170613 DOT 40672 DOT qmail AT web61307 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 234.red-80-24-49.pooles.rima-tde.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; es-ES; rv:1.7.2) Gecko/20040803 In-Reply-To: X-IsSubscribed: yes Thorsten Kampe escribió: > [HKEY_CLASSES_ROOT\Folder\shell\command\command] > @="C:\\cygwin\\bin\\rxvt.exe -e /bin/zsh --login -i -s \"%1\"" > > and... > > if [[ $OSTYPE = cygwin && $ARGC = 1 ]]; then > cd $@; fi I set bash instead of zsh, and try to use $# instead of $ARGC, in my .bashrc. There, $# always has the value 0. Any ideas? Cordially, Ismael -- 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/