GUI library for D

Nick Sabalausky a at a.a
Mon Apr 4 20:32:48 PDT 2011


"Andrej Mitrovic" <andrej.mitrovich at gmail.com> wrote in message 
news:mailman.3183.1301973158.4748.digitalmars-d at puremagic.com...
>
> Oh btw, I just found a cool trick today to figure out in what
> directory an app resides. E.g. if you invoke "gcc.exe" and you want to
> know where it's installed. Add this batch file to your path:
>
> @setlocal
> @set P2=.;%PATH%
> @for %%e in (%PATHEXT%) do @for %%i in (%~n1%%e) do @if NOT
> "%%~$P2:i"=="" echo %%~$P2:i
>
> Then just run `where myapp.exe`, and it shows you the full path.

Heh, sweet. Batch trickery. That really takes me back. That seems a useful 
tool, too.




More information about the Digitalmars-d mailing list