I am using the xcopy command like this -
xcopy /y/i/e/f \oldLocation \newLocation
and i get output like this:
D:\temp\src\a.txt-> C:\Temp\a.txt
I need the xcopy to give me the complete path for just the destination files (only C:\Temp\a.txt
) , after copy has succeeded. I have already tried /l flag too and it gives output like -
D:a.txt
Is there a way to do this? Or do I have to manually extract the destination paths.