Archive for November 2013

Convert Guid To String

Having been pampered by C#, where Guid to string is so trivial, I had to return to an older c++ project and achieve the same thing. Just how hard can it be ? I mean, there’s even a StringFromCLISD function. True, no example of how to use it on MSDN and as with so many API calls the returned information is always in exactly the wrong format  - in this case OleStr. But we can fix that can’t we: Read more

Collection of Useful Command Line Tricks

To copy files from multiple directories into a single directory:

for /f "delims==" %k in ('dir <source file spec> /s /b') do copy "%k" <dest folder>