(This idea was created as response to this discussion board topic: https://forums.ni.com/t5/NI-TestStand/ExpandPathMacros-FindFile/m-p/3767542#M56811)
The commands "Engine.FindFile", "Engine.FindPath" and "Engine.ExpandPathMacros" only support one macro:
$(Platform)
but there are other generic paths that could be helpful e.g. when trying to call a third-party .dll (that's my main usecase) or write a logfile:
-------
$(commonprogramfiles) - The actual folder name varies depending on Windows language settings and bitness. No absolute paths possible but a lot third-party .dlls are here.
$(temp)
$(localappdata)
$(appdata)
$(user)
$(public)
$(MyData) - The actual folder name varies depending on current user and Windows language settings
It hopefully shouldn't be too hard to access the windows functions which get the actual names via macros.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.