Re: Remove Cygwin Path for Called Batch Script

2008-03-31 Thread Scott Wegner
Kurt Franke wrote: Scott Wegner hdfgroup.org> writes: Greg Chicares wrote: On 2008-03-25 13:30Z, Scott Wegner wrote: I am trying to create a "wrapper" Cygwin bash script to add functionality to an existing Windows batch script. In my Cygwin script, I would like to call the batch file with

Re: Remove Cygwin Path for Called Batch Script

2008-03-26 Thread Kurt Franke
Scott Wegner hdfgroup.org> writes: > > Greg Chicares wrote: > > On 2008-03-25 13:30Z, Scott Wegner wrote: > >> I am trying to create a "wrapper" Cygwin bash script to add > >> functionality to an existing Windows batch script. In my Cygwin script, > >> I would like to call the batch file with

Re: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Tatsuro MATSUOKA
Hello $ cygpath --help Is this infomation useful for you? Rerads Tatsuro --- Scott Wegner <[EMAIL PROTECTED]> wrote: > Greg Chicares wrote: > > On 2008-03-25 13:30Z, Scott Wegner wrote: > >> I am trying to create a "wrapper" Cygwin bash script to add > >> functionality to an existing Windo

Re: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Brian Dessent
Scott Wegner wrote: > My question is, whether there is a way to easily strip the Cygwin > entries from the path for the batch call. Hopefully the solution would > be portable, and not affect the environment outside of the bash script. PATH is just a regular variable like any other. If you want

Re: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Michael Kairys
"Scott Wegner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] ... However, I'd rather find a solution where the batch script can remain "unaware" of its Cygwin context. Once I get things working, I plan on creating bash script wrappers for many Windows batch scripts, so I'd like

Re: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Scott Wegner
Greg Chicares wrote: On 2008-03-25 13:30Z, Scott Wegner wrote: I am trying to create a "wrapper" Cygwin bash script to add functionality to an existing Windows batch script. In my Cygwin script, I would like to call the batch file with something like: ... cmd.exe /k batch-script.bat params .

Re: Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Greg Chicares
On 2008-03-25 13:30Z, Scott Wegner wrote: > > I am trying to create a "wrapper" Cygwin bash script to add > functionality to an existing Windows batch script. In my Cygwin script, > I would like to call the batch file with something like: > > ... > cmd.exe /k batch-script.bat params > ... > >

Remove Cygwin Path for Called Batch Script

2008-03-25 Thread Scott Wegner
Hello, I am trying to create a "wrapper" Cygwin bash script to add functionality to an existing Windows batch script. In my Cygwin script, I would like to call the batch file with something like: ... cmd.exe /k batch-script.bat params ... Calling the script in this fashion seems to generall