X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=GVXHqMRLzWkom3GuM7YJ+YJMosMCI8CQg1Vui6nkWeAItjTuq/pLz
	EQMPo37SXXLtc6iduKmvbHAo37P9V9mSDa9zIjdAh1iRWBY3c8TFgDJYeD/IH4pj
	2It0RRb5ulNWCS62SwscAwfMUMgpHsPr8JuLpEgMVH8d/Eb4PnQAiE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=NzIZMZjSzeV1Sgj0g2TVp2D64/I=; b=Ij3hm5GZ5t+LE6CQ4woDVTZHQ4io
	sA6wfx26Cy994z4koaM41RFMSyFJDvBwpHt29fz2zc6KdCyx8MZdi2gSDKpokR+k
	S4laFR5J2ZKlbfDPmLvekLDjxfwaEHnnbN5kAobw3T48fvz/drcsmxva9lCMuCaL
	8eNCX69OvTWwMec=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1
To: cygwin@cygwin.com
From: Gene <gene_golub@hotmail.com>
Subject: Re: starting cygwin shell
Date: Sun, 7 Apr 2013 18:16:17 +0000 (UTC)
Lines: 49
Message-ID: <loom.20130407T201031-589@post.gmane.org>
References: <loom.20130407T091557-947@post.gmane.org> <5161421A.6080208@towo.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)

Thomas Wolff <towo <at> towo.net> writes:

> 
> Am 07.04.2013 09:42, schrieb Gene:
> > Hello Forum,
> > I am new to cygwin.
> > I am trying to create a .bat file so I can start cygwin from w7 windows
menu.
> Cygwin install creates a "Cygwin Terminal" icon on your desktop in in 
> your Programs menu. You can drag or (with Control-) copy it anywhere in 
> menus where you want it. Is that what you need?
> 
> > ...
> (unclear)
> 
> > Second question:
> >
> > I am running below code and shell dissapear.
> > I could catch the message before it happens. Do you know what seems to be a
> > problem?
> >
> > for k in `ls`
> > do
> > print "here is $k"
> > done
> $ type print
> print ist /cygdrive/c/WINDOWS/system32/print
> So you effectively tried to print files called "here is ..." with a 
> Windows tool.
> You probably meant this instead:
> echo "here is $k"
> 
> 

Yes, script should be as below.
However, the question is: if it's w7 compatible, why it's going down.
I was able to catch the message:

save: fork_level=1 SetHandleInformation() failed: fd 0 handle 0x3 type 2: Th
e parameter is incorrect.

for k in `ls`
do
print "here is $k"
done






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

