Page 1 of 1

Create Script to go to a Shortcut?

Posted: 03 Mar 2016 17:47
by JGreg7
On the toolbar, you can add a custom button to run a script.

Two questions:
1. what language do I use for the script? I have tried several commands, but none seem to work
2. I just want to make a simple custom button that links to a specific directory on the hard drive. Any ideas how to do this?

Re: Create Script to go to a Shortcut?

Posted: 03 Mar 2016 18:05
by highend
1. XYplorer's scripting language
2.

Code: Select all

goto "<path you want to go to>";
or, if this is really just a .lnk file:

Code: Select all

goto property("#LinkTarget", "<path of your.lnk file>");
but none seem to work
And which commands exactly did you use?