Move files to a sprecial folder with single click / shortcut
Move files to a sprecial folder with single click / shortcut
There are some folders I regularly move files to. Is there a way to move (and copy) files being marked with a single click / a shortcut to a special folder (without opening it in the other panel??
FC newest stable version, portable
Win 7 64bit
Win 7 64bit
Re: Move files to a sprecial folder with single click / shor
you can do this using a bat file
my example, i'm using a target folder named "rainbow".
create a file named move-selection-to-rainbow.bat with the following code
replace R:\test\rainbow with your target directory
Add the bat file to your favorites with the following parameters
my example, i'm using a target folder named "rainbow".
create a file named move-selection-to-rainbow.bat with the following code
replace R:\test\rainbow with your target directory
Code: Select all
for /f "delims=" %%i in (%1) do move /-y "%%i" "R:\test\rainbow\"
FC XE 0.760 x86
Win 7 Ent 64bit SP1 |16 GB ram |Intel Core i7-3770
Win 10 Pro Anniversary | 4GB ram
Win 7 Ent 64bit SP1 |16 GB ram |Intel Core i7-3770
Win 10 Pro Anniversary | 4GB ram
Re: Move files to a sprecial folder with single click / shor
Thank your very much, therealjd,
I obviously did a mistake, it does not work, cannot find it:
http://i.imgur.com/UYSiiUM.png
http://i.imgur.com/gyGlD6v.png (content of bat file)
Does the bat overwrite an existing file in the destination?
I obviously did a mistake, it does not work, cannot find it:
http://i.imgur.com/UYSiiUM.png
http://i.imgur.com/gyGlD6v.png (content of bat file)
Does the bat overwrite an existing file in the destination?
FC newest stable version, portable
Win 7 64bit
Win 7 64bit
Re: Move files to a sprecial folder with single click / shor
the bat file will prompt you to overwrite if the file already existsDirk wrote:
Does the bat overwrite an existing file in the destination?
you can suppress the overwrite prompt by changing to /-y to /y
you can add "pause" to the 2nd line of the bat file to see what is going wrong with the command.
good luck!
FC XE 0.760 x86
Win 7 Ent 64bit SP1 |16 GB ram |Intel Core i7-3770
Win 10 Pro Anniversary | 4GB ram
Win 7 Ent 64bit SP1 |16 GB ram |Intel Core i7-3770
Win 10 Pro Anniversary | 4GB ram
Re: Move files to a sprecial folder with single click / shor
Alright, thank you very much, therealjd.
FC newest stable version, portable
Win 7 64bit
Win 7 64bit
Who is online
Users browsing this forum: Google [Bot] and 52 guests