Re: GIT on MinGW problem
- From
Johannes Sixt <j.sixt@eudaptics.com>
- Date
- May 29, 2007, 14:13 UTC
- Message-ID
- <465C3502.BE134BC9@eudaptics.com>
- In-Reply-To
- <Pine.LNX.4.64.0705291446170.4648@racer.site>
Johannes Schindelin wrote:
Show 6 quoted lines
> There are at least three different cmd.exe that _I_ encountered: NT4.0, > 2000 and XP. All of them have different features. None of my scripts > worked without _heavy_ workarounding on all of them. > > But I think a .lnk file would be easier to create, and more portable, > right?
If:
1. there is a .lnk file named gitk.lnk with target for example:
D:\MSYS\1.0\mingw\bin\wish84.exe D:\MSYS\1.0\git\bin\gitk
2. you change PATHEXT to include '.LNK'.
then gitk can be invoked with varying arguments from CMD. I've tested this only on W2k. Point 2 looks hackish and dangerous to me.
-- Hannes