Page 1 of 1

Copy and move selected file to folders

Posted: 14.10.2017, 23:49
by campy222
I would like to be able to use 1 button or hot key to first copy a selected file to a predefined folder and then move the file to a different predefined folder.

Can an external program or bat file be used for this? If so how is it implemented.

Re: Copy and move selected file to folders

Posted: 15.10.2017, 14:39
by afh
Try this (not sure it works or is the best solution)
Insert this in parameter of the button you create (quotation marks are important) - replace copyfolderpath and movefolderpath with your folders:

Code: Select all

/c for %i in (%ActivSel%) do (copy %ActivSel% "CopyFolderPath\%~ni%~xi") && for %i in (%ActivSel%) do (move %ActivSel% "MoveFolderPath\%~ni%~xi")
Also "Separate for each selected item" must be checked.

Image

Re: Copy and move selected file to folders

Posted: 16.10.2017, 20:56
by campy222
Worked like a champ! Thanks so much.