On Tuesday, 14 February 2012 at 09:04:50 UTC, Walter Bright wrote:
But there is a simple solution for your case. Create a batch file, dmd.bat, with the contents:

  c:\dmd\windows\bin\dmd %1 %2 %3 %4

I would suggest replacing "%1 %2 %3 %4" with "%*".

But what most people do is have multiple .bat files, one for each compiler, to switcheroo the environment for the compiler they wish to use at the moment. After all, it isn't just link.exe. It's all the tools, the .h files, the library files, etc.

For myself, I've written a plugin for my preferred file manager:

https://github.com/CyberShadow/EnvMan

Reply via email to