X-Spam-Check-By: sourceware.org From: "David Christensen" To: Subject: RE: Calling shell script from DOS Date: Thu, 26 Jan 2006 22:30:30 -0800 Message-ID: <014c01c6230b$2b5ac820$0a01a8c0@p42800e> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20060127062253.97104.qmail@web50102.mail.yahoo.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Pinaki Mukherjee wrote: > I have installed Cygwin. I want to invoke a shell > script from the DOS/Windows command prompt (instead of > opening Cygwin Window first and calling it from > there). How can I do this? > Thanks for any help. This is a batch file that I use to launch a Bash script that backs up my machines: dpchrist AT p42800e:~/mydocuments/backup-p42800e$ cat backup-all.bat @echo off C: chdir C:\cygwin\bin bash /backup/bin/backup-all HTH, David -- 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/