How to report xcopy file list in a txt file?
Posted: 05 Sep 2011 09:28
I've tried this:
But it only returns
the command line
c:\a.txt > d:\
But I want:
a.txt
How can it be done?
Code: Select all
xcopy "c:\a.txt" "d:\" > d:\copyList.txt
But it only returns
the command line
c:\a.txt > d:\
But I want:
a.txt
How can it be done?