Installing latest Cygwin setup on Win7 Prof system fails to correctly setup Cygwin64 Terminal shortcut...

Andrey Repin anrdaemon@yandex.ru
Tue Mar 29 14:25:55 GMT 2022


Greetings, G. Wong!

> Hi,
> After installing Cygwin via setup-x86_64.exe, it creates a Cygwin64
> Terminal shortcut on the desktop but no target is defined in it.  Clicking
> on the shortcut obviously fails to start a shell console.
> I did install the cygwin64 root directory to a different drive letter,
> D:\cygwin64, instead of default C: drive.
> In the cygwin64 directory, a batch file, Cygwin.bat, is there where running
> it in a Windows cmd console will start a bash shell.
> The main cmd in the batch file does a change directory from an environment
> variable that doesn't exist:
> cd /d "%~dp0bin" && .\bash --login -i

"%~dp0" is a disk+path (including the trailing slash) from script name itself.
It ALWAYS exists.       

> Setup log in /var/log doesn't show a failed setup issue.
> Also, the Windows Start menu for Cygwin also has same bad link to start the
> terminal.

> -George

Make sure you have bash.exe in your /bin directory.


-- 
With best regards,
Andrey Repin
Tuesday, March 29, 2022 17:22:23

Sorry for my terrible english...



More information about the Cygwin mailing list