X-Recipient: archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=GCb3fgVJBt1+doVo7ZiAbY4EGcbciXQ2PvVCMzZBjMggyKKd3HgwM ikVx2IjozInkrndfumgOYUyNAzh8Li93VIFLRsrzVeLUApUTUisRNgfy/fjnWVQ1 cleKHsW4jz+KjVwRHcYt8t/N2qbL6IGMHFWfIA520cTEYcDkhXCl8Y= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=KqV+UQb42HowBgFA9LSGVAi91Ls=; b=cYH8+6aIHHZVTSranXA0ivX7RjgR 5kuOIM3F1sbWhe9RXSYKcMerz/dHCgbSGGbyqTAyFYKhBa5X9bypXobreeIH+9L5 wieDU7McpyMEy8T54BBa9KiCKkiJ5Uok6kUgGQlOm4WloJEn7mSdGuAYclRhO2/E chS/IChqSxJX44c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 Date: Fri, 20 Apr 2018 15:11:11 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Fails to launch batch script in some directories Message-ID: <20180420131111.GS15911@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <76873039-f459-5534-ce8a-bb8fcbd35274 AT gmail DOT 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== --yzvKDKJiLNESc64M Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" -----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--