Windows link file (shortcut file) associated with a Stata data file can be opened in Stata from the open dialog (db use). However an attempt to use the link file causes a problem, since Stata sees the binary content of the link file directly, not the associated data file.
How do I tell Stata to follow the link and use the associated data file in the use command to programmatically replicate the same action that I can do via a dialog?
In other words I am searching for implementation of dereference in:
Thank you, Sergiy Radyakin
PS: I am interested only in a programmatic solution, I am aware of the "open file location" menu item
How do I tell Stata to follow the link and use the associated data file in the use command to programmatically replicate the same action that I can do via a dialog?
In other words I am searching for implementation of dereference in:
Code:
local filedta=dereference("filelnk") use `filedta'
PS: I am interested only in a programmatic solution, I am aware of the "open file location" menu item

Comment