* Installing latest Cygwin setup on Win7 Prof system fails to correctly setup Cygwin64 Terminal shortcut...
@ 2022-03-29 5:01 G. Wong
2022-03-29 14:25 ` Andrey Repin
0 siblings, 1 reply; 2+ messages in thread
From: G. Wong @ 2022-03-29 5:01 UTC (permalink / raw)
To: cygwin
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
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Installing latest Cygwin setup on Win7 Prof system fails to correctly setup Cygwin64 Terminal shortcut...
2022-03-29 5:01 Installing latest Cygwin setup on Win7 Prof system fails to correctly setup Cygwin64 Terminal shortcut G. Wong
@ 2022-03-29 14:25 ` Andrey Repin
0 siblings, 0 replies; 2+ messages in thread
From: Andrey Repin @ 2022-03-29 14:25 UTC (permalink / raw)
To: G. Wong, cygwin
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...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-29 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 5:01 Installing latest Cygwin setup on Win7 Prof system fails to correctly setup Cygwin64 Terminal shortcut G. Wong
2022-03-29 14:25 ` Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).