public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Brian Mathis" <brian.mathis@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygwin.bat
Date: Mon, 19 Nov 2007 16:18:00 -0000	[thread overview]
Message-ID: <183c528b0711190817x1326ea66u4b30fe015b572573@mail.gmail.com> (raw)
In-Reply-To: <13839178.post@talk.nabble.com>

On Nov 19, 2007 11:01 AM, 123cu <fmk0203@charter.net> wrote:
>
> First, I am a newbee to Cygwin so please excuse my lack of knowledge.
>
> I have a text file (aaa.txt) which contains a simple grep command. When I
> start Cygwin.bat, I want this file to be started (executed) as part of
> invoking the cygwin.bat file. I don't know how to do it. Any help will be
> appreciated.
>
> cygwin.bat file
> @echo on
>
> C:
> chdir C:\cygwin\bin
> set HOME=\cygwin
> bash --login -i

cygwin.bat is typically used to start the cygwin environment, usually
by starting a bash shell.  The bash shell then runs some "startup"
scripts, like .bashrc and .bash_profile.  Those files are where you
would normally put anything that you want to run every time you start
a shell.

Based on your description, it sounds like you may be doing something
that might not fit with the idea of how cygwin works.  If you can
explain in more detail what you are trying to accomplish, we may be
able to find a better solution, or help you to integrate it better.

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

  reply	other threads:[~2007-11-19 16:17 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-19 16:17 cygwin.bat 123cu
2007-11-19 16:18 ` Brian Mathis [this message]
2007-11-20 10:51 ` cygwin.bat Carlo Florendo
  -- strict thread matches above, loose matches on Subject: below --
2003-05-10  3:14 cygwin.bat derek
2003-05-10  3:31 ` cygwin.bat Igor Pechtchanski
2003-05-10  3:53   ` cygwin.bat derek
2003-05-10  4:01     ` cygwin.bat Larry Hall (RFK Partners, Inc.)
2003-05-10 21:56       ` cygwin.bat Sam Edge
2003-05-11  1:10         ` cygwin.bat Christopher Faylor
2003-05-11  2:18           ` cygwin.bat Sam Edge
2003-05-11  2:18             ` cygwin.bat Christopher Faylor
2003-05-11  3:31               ` cygwin.bat Sam Edge
2003-05-11  3:50                 ` cygwin.bat Christopher Faylor
2001-09-08 15:27 cygwin.bat Bobby McNulty
2001-09-08 17:56 ` cygwin.bat Michael Erdely
2001-09-08 22:44   ` cygwin.bat Alex Malinovich
2001-09-08 15:04 cygwin.bat Alex Malinovich
2000-08-10 13:48 cygwin.bat Jonas Jensen
2000-08-10 14:01 ` cygwin.bat DJ Delorie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=183c528b0711190817x1326ea66u4b30fe015b572573@mail.gmail.com \
    --to=brian.mathis@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).