Re: nodosfilewarning not working

2010-10-13 Thread Autotoonz
e persistent in my profile, so I'll be using sext to modify them from now on. I don't need to write my own utility right now, but thanks for the pointer. -- View this message in context: http://old.nabble.com/nodosfilewarning-not-working-tp29948673p29957985.html Sent from the Cygwin

Re: nodosfilewarning not working

2010-10-13 Thread Andrey Repin
Greetings, Autotoonz! >> 'setx' can also be invoked from shell scripts but >> still only impacts >> subsequently invoked shells. In both cases, the results obtain even >> after reboot. >> > Thankyou for this info. Setx will be useful for me in the future because our > Windows PCs are locked dow

Re: nodosfilewarning not working

2010-10-13 Thread Autotoonz
nable to modify env variables this way because Windows has been locked down. I will be using the set command instead to suppress the warning on individual scripts. This now appears to work correctly with CYGWIN, so my problem seems to have been solved. Cheers -- View this message in context: h

Re: nodosfilewarning not working

2010-10-13 Thread Lee D. Rothstein
On 10/13/2010 1:58 AM, Autotoonz wrote: Christopher Faylor-8 wrote: If you mean that batch file 1 sets the CYGWIN environment variable and then directly runs batch file 2, then that works too. That's how environment variables work - once you set an environment variable it is inherited by all s

Re: nodosfilewarning not working

2010-10-12 Thread Autotoonz
adn't found the original unsolved problem posted on this forum then I guess that I would have isolated what caused this instead of assuming that there was a bug. Thanks for your help Chris, cheers. -- View this message in context: http://old.nabble.com/nodosfilewarning-not-working-tp29

Re: nodosfilewarning not working

2010-10-12 Thread Christopher Faylor
On Tue, Oct 12, 2010 at 06:59:26PM -0700, Autotoonz wrote: >I just tried running the batch file directly (as a per the commands >listed above), and the warning is now suppressed. Because I was >calling it from another batch file, the env variable was of course >lost. So my mistake here, although

Re: nodosfilewarning not working

2010-10-12 Thread Christopher Faylor
On Wed, Oct 13, 2010 at 06:31:22AM +0400, Andrey Repin wrote: >Which (this your reply) convincing me even further that you don't have a clue >in how environment variables works. Come on, there's no need to go so negative here. cgf -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: nodosfilewarning not working

2010-10-12 Thread Andrey Repin
Greetings, Autotoonz! > Tim Daneliuk wrote: >> >> You can also permanently set this environment variable from Windows itself >> so >> that all instantiations of cygwin environments - regardless of shell will >> see it. >> > No I can't, as stated in the OP. No, you DIDN'T. It's rather clear fro

Re: nodosfilewarning not working

2010-10-12 Thread Andrew DeFaria
On 10/12/2010 10:10 PM, Autotoonz wrote: defaria wrote: Being as Chris is the project manager for Cygwin (and an all around nice and competent guy) I can pretty much guarantee you that yes he did test it. Wait... He just posted and yes he did do it. This leads me to ask - did you try it? Exactly

Re: nodosfilewarning not working

2010-10-12 Thread Autotoonz
this message in context: http://old.nabble.com/nodosfilewarning-not-working-tp29948673p29949009.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin

Re: nodosfilewarning not working

2010-10-12 Thread Autotoonz
ning is now suppressed. Because I was calling it from another batch file, the env variable was of course lost. So my mistake here, although this is an easy trap to fall into for the unaware! Thanks for your patience, Cheers! -- View this message in context: http://old.nabble.com/nodosf

Re: nodosfilewarning not working

2010-10-12 Thread Andrew DeFaria
On 10/12/2010 09:24 PM, Autotoonz wrote: Christopher Faylor-8 wrote: It's best to eschew the annoyance and conspiracy theories if you don't completely understand what's going on and actually want help. A fair comment, although I'm still puzzled as to how nobody can explain why this fails In ord

Re: nodosfilewarning not working

2010-10-12 Thread Christopher Faylor
On Tue, Oct 12, 2010 at 06:24:43PM -0700, Autotoonz wrote: >Christopher Faylor wrote: >>It's best to eschew the annoyance and conspiracy theories if you don't >>completely understand what's going on and actually want help. > >A fair comment, although I'm still puzzled as to how nobody can explain >

Re: nodosfilewarning not working

2010-10-12 Thread Autotoonz
he warning when running individual scripts -- View this message in context: http://old.nabble.com/nodosfilewarning-not-working-tp29948673p29948847.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: nodosfilewarning not working

2010-10-12 Thread Autotoonz
>C:\cygwin\bin\bash --login C:\test\test.sh > > You may need to create a .bat file if you want to just do the latter. > As per my original post, this most definitely does *not* work. Have you tried this yourself yet? -- View this message in context: http://old.nabble.com/nodosfilew

Re: nodosfilewarning not working

2010-10-12 Thread Tim Daneliuk
On 10/12/2010 8:11 PM, Christopher Faylor wrote: > On Tue, Oct 12, 2010 at 05:49:31PM -0700, Autotoonz wrote: >> Executing scripts with DOS style pathnames causes the following error: >> MS-DOS style path detected >> CYGWIN environment variable option "nodosfilewarning" turns off this >> warning. >

Re: nodosfilewarning not working

2010-10-12 Thread Christopher Faylor
On Tue, Oct 12, 2010 at 05:49:31PM -0700, Autotoonz wrote: >Executing scripts with DOS style pathnames causes the following error: >MS-DOS style path detected >CYGWIN environment variable option "nodosfilewarning" turns off this >warning. >Consult the user's guide for more details about POSIX paths

nodosfilewarning not working

2010-10-12 Thread Autotoonz
case this is useless for anyone who wants to block the message for individual scripts, or (like me) has a locked-down Windoze PC. Here is the command line I'm running: C:\cygwin\bin\bash --login C:\test\test.sh -- View this message in context: http://old.nabble.com/nodosfilewarning-not-wo

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-11 Thread Julio Costa
On Thu, Jun 10, 2010 at 12:55, prakash babu wrote: > I have a web application which runs as SYSTEM user in windows. > It executes the following command using Java Runtime.exec api's > C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' > (snip) > > Is there any other way to set th

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-11 Thread Andrey Repin
Greetings, prakash babu! > I tried setting it in the under the System Variables section but still I am > getting this warning. Then, 1. You didn't rebooted your system after setting the variable. 2. The host application clearing the environment before calling your application. > Is there any o

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread Larry Hall (Cygwin)
On 6/10/2010 11:57 AM, prakash babu wrote: I tried setting it in the under the System Variables section but still I am getting this warning. Is there any other way to set the CYGWIN env variable. It's unclear if you're running this as a service or not. If you are, you need to restart the se

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
I tried setting it in the under the System Variables section but still I am getting this warning. Is there any other way to set the CYGWIN env variable. thanks, Prakash --- On Thu, 6/10/10, Andy Koppe wrote: > From: Andy Koppe > Subject: Re: setting CYGWIN=nodosfilewarning not w

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread Andy Koppe
On 10 June 2010 12:55, prakash babu wrote: > I have a web application which runs as SYSTEM user in windows. > It executes the following command using Java Runtime.exec api's > C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' > > The command executes fine but I get the following

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
True, but what about existing applications. Since this warning comes in the error stream the command is considered as failed in the existing application. thanks, Prakash --- On Thu, 6/10/10, Eric Blake wrote: > From: Eric Blake > Subject: Re: setting CYGWIN=nodosfilewarning not working

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread Eric Blake
On 06/10/2010 05:55 AM, prakash babu wrote: > I have a web application which runs as SYSTEM user in windows. > It executes the following command using Java Runtime.exec api's > C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' > > The command executes fine but I get the followi

setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
I have a web application which runs as SYSTEM user in windows. It executes the following command using Java Runtime.exec api's C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' The command executes fine but I get the following warning. cygwin warning: MS-DOS style path detec