I am trying to make a little shortcut for my daily work. I often have to copy some files from let's say C:\folder0\folder1\aaaa\
to C:\folder0\folder1\bbbb\
.
I want to create a batch file shortcut in the send-to menu. So I would first select the files and then click on the new added shortcut to the batch file which should do the rest.
@echo off
:here
if '%1'=='' goto exit
"C:\Program Files (x86)\Notepad++\notepad++.exe" "%1"
echo %cd%
shift
goto here
:exit
I started with opening the files in Notepad++
and displaying the path.
But I need a function that stores the path from the given files and changes the folder a
to folder b
. Afterwards it would take the new path for the standard copy function.
xcopy /s C:\source D:\target
I hope I could properly explain what I try to achieve.