Hi,
this may be a newbie question; nevertheless I'd be grateful for an answer as I spent a long while already on this...
I have a full file path in a variable. I try to open the Windows Explorer such that it opens the corresponding directory and has the filename selected.
This is my code:
Run, Explorer, "/select,%MyVar%"
%MyVar% contains the fullpath. Actually other things happen as well (Subversion update of the file, opening of the file, ...), but let's disregard this for now.
However, when I run this, Windows Explorer opens, but not with the correct folder. Instead, "My documents" is opened.
What am I doing wrong? I have checked
http://support.microsoft.com/kb/314853 and understood the switches, but do not reach my goal.
Run, Explorer, /select,"%MyVar%" does not work either.
Thanks for any help,
Frank