Copy and move selected file to folders

Discussion, questions and support.
Post Reply
Message
Author
campy222
Posts: 2
Joined: 14.10.2017, 23:43

Copy and move selected file to folders

#1 Post by campy222 » 14.10.2017, 23:49

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.

afh
Posts: 106
Joined: 30.06.2014, 20:50
Location: Romania

Re: Copy and move selected file to folders

#2 Post by afh » 15.10.2017, 14:39

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

campy222
Posts: 2
Joined: 14.10.2017, 23:43

Re: Copy and move selected file to folders

#3 Post by campy222 » 16.10.2017, 20:56

Worked like a champ! Thanks so much.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 35 guests