Page 1 of 1
Script to use selected filename as command-line argument
Posted: 07 Sep 2012 00:49
by BJosephs
Hi. I'm a <gasp> noob looking for some simple scripting help. It seems that XYplorer doesn't have the functionality of Windows Explorer as far as drag-n-drop execution of script files (.vbs,.bat) using dropped file as a command line argument. I imagine this could be done with a simple script (or at least with a POM), but I'm just learning the ropes of XYplorer scripting. Any guidance will be appreciated.
Re: Script to use selected filename as command-line argument
Posted: 07 Sep 2012 05:41
by BJosephs
I figured out the POM:
|"Send email" *>::run """C:\scripts\GroupSendMail.vbs"" ""<curitem>""";
Now I can assign a hot-key. I would like to learn if/how to accomplish the same thing with drag-n-drop through a script.
Re: Script to use selected filename as command-line argument
Posted: 07 Sep 2012 07:06
by admin
Hi and welcome!
BJosephs wrote:It seems that XYplorer doesn't have the functionality of Windows Explorer as far as drag-n-drop execution of script files (.vbs,.bat) using dropped file as a command line argument.
Whoops, thanks for noting. Next version will have it.
Don
Re: Script to use selected filename as command-line argument
Posted: 07 Sep 2012 18:47
by BJosephs
Thanks Don-
I see how much you put into this program - I'm excited to get to know it!