Did you ever have a program that was outside of your control, but that called another program in a way that wasn't quite right?
Well, that's the situation I was in. A Crufty Old Source-Control Program (COSCP) uses its own built-in DIFF program, and I'd much rather use a tool like WinMerge for that kind of thing. Naturally the COSCP doesn't allow you to change the program that's called, and since it uses such arcane practices as pipes ('|') to delimit file paths (and the parameters are in the wrong order) so I can't just replace their DIFF executable with WinMerge's.
So I wrote ParameterMapper.EXE. It's a program that you can substitute in place of another EXE, that can call yet another EXE with the same or different parameters.
And there's more. In a fit of boredom, I put in some CodeDOM gubbins that allows you to embed code to normalise parameters without having to plug in your own DLL. It's kindof neat, if you like that sort of thing.
So, check ParameterMapper out. It's free and the (GPL'd) source (.NET 2.0/VS2005) is there too if you want it.
Categories: .NET Permalink #.Posted by 'geoff' on Tuesday, 17 October 2006 at 6:51PM
|