Hi,
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
Subscribe to forum
Forum
Macros in the tag filename
Page: 1
| Author | Post |
|---|---|
|
Kai Brendel
|
#1 Thu May 03, 2007 8:18 am
|
| Guest | |
|
#2 Thu May 03, 2007 8:56 am
|
|
|
Administrator
Registered: Sep 2007
Posts: 134
|
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:
file(filename="%temp%\log.sil") 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. |
Page: 1