Download MetaTrader 5

open a file via a shortcut with FileOpen()

To add comments, please log in or register
graziani
2050
graziani  

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? 

Ex Ovo Omnia
3355
Ex Ovo Omnia  

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

graziani
2050
graziani  

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