On 5/29/07, Johannes Sixt <J.Sixt@xxxxxxxxxxxxx> wrote:
Johannes Schindelin wrote: > 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.
I'd suggest create a small C wrapper to launch gitk. It would be much easier that way IMHO. -- Duy - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html