Page 1 of 1
Need a script to move selected files to specific folders
Posted: 27 Mar 2012 21:30
by perseid
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
Re: Need a script to move selected files to specific folders
Posted: 27 Mar 2012 21:49
by highend
Code: Select all
$SelectedItems = get("SelectedItemsPathNames", "|");
moveto "c:\art", $SelectedItems;
Save that as a script, duplicate it, and change your path.
Menu - User - Manage Commands...
Left pane: Load script file
Right pane: New, fill in all parameters and assign your shortcut...
Re: Need a script to move selected files to specific folders
Posted: 28 Mar 2012 05:02
by perseid
Thanks highend, your script and instructions worked flawlessly. Regards.