Script to use selected filename as command-line argument
-
BJosephs
- Posts: 6
- Joined: 07 Sep 2012 00:41
Script to use selected filename as command-line argument
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.
-
BJosephs
- Posts: 6
- Joined: 07 Sep 2012 00:41
Re: Script to use selected filename as command-line argument
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.
|"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.
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Script to use selected filename as command-line argument
Hi and welcome!
Don
Whoops, thanks for noting. Next version will have it.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.
Don
FAQ | XY News RSS | XY X
-
BJosephs
- Posts: 6
- Joined: 07 Sep 2012 00:41
Re: Script to use selected filename as command-line argument
Thanks Don-
I see how much you put into this program - I'm excited to get to know it!
I see how much you put into this program - I'm excited to get to know it!
XYplorer Beta Club