www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/26/18:45:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTik+ZpEz+HBW94mrkyiO-Cb6PSMK3M5btLojDw8-@mail.gmail.com>
References: <AANLkTik+ZpEz+HBW94mrkyiO-Cb6PSMK3M5btLojDw8- AT mail DOT gmail DOT com>
Date: Thu, 26 Aug 2010 15:45:42 -0700
Message-ID: <AANLkTimaYrdvcYWcCq47Zh3_YrQyf9WkiMhQOZC2Dq5_@mail.gmail.com>
Subject: Windows batch program to open shell at directory specified as argument
From: Reckoner <reckoner AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

hi,

I use chere to right-click and open a shell at a given directory, and
I was wondering if it is possible to setup a windows batch script that
would accomplish the same thing from the Windows command line. In
other words something like,

c:> cygwin_start_dir.bat c:\mystuff\directory

which would then open my favourite shell at the=A0c:\mystuff\directory.

Thanks in advance.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019