Download MetaTrader 5
To add comments, please log in or register
No time to learn MQL5? Order your application from a developer!
graziani
1894
graziani 2016.03.15 17: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 Cz
2952
Ovo Cz 2016.03.15 18:59  

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

graziani
1894
graziani 2016.03.16 12: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.

/
To add comments, please log in or register