open a file via a shortcut with FileOpen()

Back to topics list To post a new topic, please log in or register
graziani 2016.03.15 18:27

When i try to open a shortcut with FileOpen(), it opens the shortcut file itself, instead of file this shortcut is pointing to.

I thought that the shortcut is actually a link in some OS layer, but it obviously isn't.

Any ideas how to solve this? 

Ovo 2016.03.15 19:59 #

Use a symbolic link (or a junction for a directory) instead of the shortcut. Shortcut is actually another file. 

graziani 2016.03.16 13:31 #

Thansk Ovo,

i was just wondering if it is possible with shortcuts, as i have a bunch of files in different directories....

It obviously isn't, so mklink it is.


Back to topics list  

To add comments, please log in or register