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...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to