From: Johannes Schindelin Date: Thu, 27 Sep 2007 12:04:34 GMT Subject: Re: [msysGit] [PATCH 1/2] contrib: Add diff viewing capability for Microsoft Word documents Message-ID: In-Reply-To: <11908935593618-git-send-email-johannes.sixt@telecom.at> Hi, On Thu, 27 Sep 2007, Johannes Sixt wrote: > Ok, here's something that shows how git helps solve REAL PROBLEMS. Hehe. > +WINWORDEXE = C:/Program Files/Microsoft Office/Office/WINWORD.EXE AFAICT this would be better written as $(PROGRAMFILES) (but you have to add proper quoting, I guess). Or, alternatively, you can get it with a simple Tcl script package require registry 1.0 puts [regsub "\\" [registry get \ "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Extensions" \ "doc"] "/"] Or something like that. Ciao, Dscho