Re: Problem passing file names with embedded space to Windows executable via bash function

2015-06-26 Thread Ernie Rael
On 6/26/2015 2:27 PM, ncokwq...@sneakemail.com wrote: [ This is meant to be a reply to the response post by Ernie Rael, which I managed to lose so there is no referencing. ] On 6/26/2015 12:50 PM, Ernie Rael wrote: I use something similar to this, perhaps it would meet your needs. You may wan

Re: Problem passing file names with embedded space to Windows executable via bash function

2015-06-26 Thread ncokwqc02
[ This is meant to be a reply to the response post by Ernie Rael, which I managed to lose so there is no referencing. ] On 6/26/2015 12:50 PM, Ernie Rael wrote: >I use something similar to this, perhaps it would meet your needs. You may >want to use >different option to cygpath. > > #!/usr/bi

Re: Problem passing file names with embedded space to Windows executable via bash function

2015-06-26 Thread Ernie Rael
On 6/26/2015 12:06 PM, JJ Ottusch wrote: I am trying to define a function in my '.bash_profile' that takes a file or list of files as an argument and passes the list to a Windows executable after converting all the filenames to full path filenames with 'cygpath'. I use something similar to this

Problem passing file names with embedded space to Windows executable via bash function

2015-06-26 Thread JJ Ottusch
I am trying to define a function in my '.bash_profile' that takes a file or list of files as an argument and passes the list to a Windows executable after converting all the filenames to full path filenames with 'cygpath'. The whole point of the function is to use 'cygpath' to put the filenames