Proposal for new cygwin.bat which is independent from install directory

Andrey Repin
Mon Aug 29 17:14:00 GMT 2016

Greetings, cyg Simple!

> On 8/27/2016 1:44 PM, Andrey Repin wrote:
>> Greetings, Christian Franke!
>>> Andrey Repin wrote:
>>>>> Hmm... therefore it is also better to change the last line to:
>>>>>     .\bash --login -i
>>>> "%~dp0bin\bash.exe" --login -i
>>> Changing the directory before bash is run is a security measure because 
>>> the current directory may be in DLL search path.
>> And?
>>> I guess this is one reason why the cygwin.bat file created by setup.exe also
>>> does this.
>> I'm starting an application by its full path.

> So...  It doesn't make it any more correct than Christian's method which
> is what I prefer.  IIRC older versions of Windows required the change
> directory to execute Cygwin properly.

How much "older"? Win'95? It is no longer supported.

With best regards,
Andrey Repin
Monday, August 29, 2016 16:57:44

Sorry for my terrible english...

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list