From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34755 invoked by alias); 20 Apr 2018 13:11:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 34747 invoked by uid 89); 20 Apr 2018 13:11:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.7 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:886 X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.133) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Apr 2018 13:11:14 +0000 Received: from calimero.vinschen.de ([217.91.18.234]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0McM3H-1etDK30N7v-00JZ7G for ; Fri, 20 Apr 2018 15:11:12 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id B532CA81ECC; Fri, 20 Apr 2018 15:11:11 +0200 (CEST) Date: Fri, 20 Apr 2018 13:11:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Fails to launch batch script in some directories Message-ID: <20180420131111.GS15911@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <76873039-f459-5534-ce8a-bb8fcbd35274@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yzvKDKJiLNESc64M" Content-Disposition: inline In-Reply-To: <76873039-f459-5534-ce8a-bb8fcbd35274@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-UI-Out-Filterresults: notjunk:1;V01:K0:akr98r0a0kA=:zGE0wLDvxLP02VOl4okq3Y +ugeS7MSFgejbLxFJBBLXLmgrbyPk/EVQ5YMm9MEYEEj0rcXmi3w6iXvMjqlVin/YOr75Eyln GVC1fN+QCbYvKl6/D5vOWAVTBjX/UbLNUEGx6ZuyxZxunQKudaqQdRXhJWcOmtBKIOTNlZJ1A up5ElNRAWOKIZiCKxP7aOe7HDblzd+XS3LNlAMbEkDtmeR66Zy5zR/Geuqqkzin+07jYEEI3H /yGyUXf7EaY02JvJWhVUPJ/KEDcXuCPDxtXTBoN19xCyjwYrB6I7iXCbDRae12uUYVmW/7g+c Naf3ScpU/F1p4VvwWdoEkiy6i6DeUU8XRfRIr1fZ449n/e/APotL7GqUK2gQhiIph8U7n+wkR Al2KRck8nHpUyM0IPRrAD6P/4o5eR3Vyt6stnFDscLssP4WkZRpz+WbRyODQdG5JDPzAU02L2 OzqI55wQaxTkSx+FHxOA/pfXQx/SKFWMQ3RA3qxILZd9OeXGdS8KImDo2p4/TdqyeLcUFZKGG Lsw2EVveGN8Qsbu58jKkerqx/fkRw8eAxFY3BSsjPP7fiGaMamUzJl2E68oPCNANutJVqB/82 /1DFnxqU/R+jp9JFEIpnx6t9U5bDPau2e45a+AcTAqC0prh1V56jvn9ma8fxI+iSa2FB0eDm7 AUDcNqIU7hSYBmN76HtfQjLdsHmKm6FTChpPKdodMGmSLZNWImV06Tl99Fhs2tzt8P0frJD8U Ovi6aW9NLWypEMXJ0WT27OYj5tzwK9jAnLleuw== X-SW-Source: 2018-04/txt/msg00251.txt.bz2 --yzvKDKJiLNESc64M Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 885 On Apr 20 14:33, David Macek wrote: > Whoa, an interesting bug. I'm forwarding this to the Cygwin mailing list= for reference. I might take a deeper look over the weekend if no-one beat= s me to it. >=20 > It seems like running batch files (.bat, .cmd) inside a directory with an= at sign and a space (such as '@ x' or 'x @') fails. >=20 > /w/temp/@ x$ ./hello.bat > 'W:\temp\@' is not recognized as an internal or external command, > operable program or batch file. Funny. That's very likely a bug in the @file handling in function insert_file() in dcrt0.cc. This is basically stone-age old code to pamper starting Cygwin tools with too long commandl ines from cmd. I'm looking forward with what you're coming up with. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --yzvKDKJiLNESc64M Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlrZ5u8ACgkQ9TYGna5E T6C79w/9Fh2OT/EV3MoSncljxvdDV6vVyBD86h8lMR1OJMndIFHjqxQScvVw7m7K ya+DjrDABf+ljHLalb6TqO9GVRjbs8qab6MkEJr26y+fJsYIMOuM5c+j3YAD32dY B6/KMHWr3pumfcKuTB7kLPRtEheO1etH7BQENUmi+GXX4iCCFcJIU8E8YgVcLFin 7BkdxyswOQwNfMGrVVgVz7nsZ2z3epKlGoWKw5rK78MuwEE01YinpZeT+vUpoo/s m8KT8fwxnFSRteuyYD9TW1PWTx0OVL+wZqKUZsFPoZiI2/VInf0SlBgobtdcz3zl g5Z+wHSyd96aPeMfhLfaDZ6GBavDIP3WxIAzTd7L/xmAI6TrCrC01t+oEnr+uyd7 BDYosWAhRPBPoacpmBeAe80d3rg8s7i398JJe9tUIma8Q/HySk7MsDmNtXh8oZA3 m0M+4Eq4eD5vf5pvX5wiZqARhQmyK4YknuQY+Vj9+of50yl2/3Z0hmdNkTyz5AxI O0eFS4gIqrb8D4ghLt5T8mQoNohGAEgoFEwyyfuxvHqENcn8nTt1uOyjjvbBeXyo t/XrCJtgW7QslGRk0McmF96mIz/HU8kvHPGRAOJn7wWwl9d1yqZVjlbz0Zvo8qgk eYFRzjjBrgzKlw2c+13rF9ULXuPhvR617fYLQxPreUxT/XtLI1M= =+1Th -----END PGP SIGNATURE----- --yzvKDKJiLNESc64M--