Need a script to move selected files to specific folders
-
perseid
- Posts: 13
- Joined: 25 Mar 2012 06:41
Need a script to move selected files to specific folders
Hi, say I select with XYplorer a bunch of files in a certain location and when pressing the "a" keystroke it will move those files to the c:\art\ folder, when pressing the "h" keystroke it will move those files to the c:\history\ folder, and so on. What would be a suitable script for this? Thanks
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Need a script to move selected files to specific folders
Code: Select all
$SelectedItems = get("SelectedItemsPathNames", "|");
moveto "c:\art", $SelectedItems;Menu - User - Manage Commands...
Left pane: Load script file
Right pane: New, fill in all parameters and assign your shortcut...
One of my scripts helped you out? Please donate via Paypal
-
perseid
- Posts: 13
- Joined: 25 Mar 2012 06:41
Re: Need a script to move selected files to specific folders
Thanks highend, your script and instructions worked flawlessly. Regards.
XYplorer Beta Club