delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/25/03:46:44

X-Spam-Check-By: sourceware.org
Message-ID: <93f080740610250046u1bdc0ff0vc62fff2a7d9b71a@mail.gmail.com>
Date: Wed, 25 Oct 2006 00:46:22 -0700
From: "Ben LeBar" <apexmusic AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Running a command on cygwin launch
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 was wondering if there was any way to run a command on cygwin either
through a batch file while launching cygwin or once launched.

I heard that I could use a .batchrc file to do this, so I created one
containing the command I wanted executed and put it in my home
directory - it didn't work. Next I checked the Cygwin FAQ's and it
said that a home directory may not have been set so put it in the
cygwin root. I did this and tried it again -- no dice.

If anyone could help me out or give me any alternatives I'd greatly
appreciate it. Thanks.

--
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/

- Raw text -


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