This is the mail archive of the
mailing list for the Cygwin project.
Re: Bash fails to run .bat file with spaces in pathname and argument
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 11 Oct 2006 18:44:23 -0600
- Subject: Re: Bash fails to run .bat file with spaces in pathname and argument
- References: <452D5DF0.email@example.com>
-----BEGIN PGP SIGNED MESSAGE-----
According to Johnathon Jamison on 10/11/2006 3:11 PM:
> I am having some funny behavior. If I have a .bat file that is in a
> directory whose pathname contains a space, and an argument is given to
> the .bat file that has a space in it, then the .bat file fails to run.
> Instead, I get "'xxx' is not recognized as an internal or external
> command, operable program or batch file." where xxx is the portion of
> the complete path to the .bat file before the first space.
Sounds like you need to read up on shell quoting.
Life is short - so eat dessert first!
Eric Blake firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v18.104.22.168 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html