Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Macros in the tag filename


per default SI writes to the file, which name is given in a .sic file, in the current active directory. It is also possible to enter a full path.

What do you think about a macro to use a special folder, for example filename="app_home\mylog.sil" and additional the folders which can be listed by the SHGetSpecialFolderLocation function?

Regards from Unna
Kai Brendel


That’s indeed very interesting, Kai. Thanks a lot for the idea. I just added it to our feature request list. I think that you can already specify and use environment variables in the connections string. It should look like this:


I haven’t tested this myself, but if I recall correctly, the CreateFile Windows function (which is used internally when opening a file) allows using environment variables.