Solved Copy files with progress, updating in a text file

August 5, 2015 at 05:37:38
Specs: Windows 7
I have a file in file in the folder where the bat file located which is named as Data.001. I want to copy it in the location of "C:\ProgramData\locac.dat" + "\" + "Data.001" with continuously updating progress in a text file in "C:\ProgramData\progress.txt". I have two problems, Changed directory after running as admin and progress of the copying file, continuously updating in a text file. I have trying this from since Monday, but I 'm unable to do that.
Thanks in advanced.

See More: Copy files with progress, updating in a text file

Report •

#1
August 10, 2015 at 14:54:09
✔ Best Answer
The directory is making less sense to me on this one. You are trying to copy the file to a different file? While ensuring that you are at the right Directory?

cd "C:\ProgramData\"
copy "Data.001" "C:\ProgramData\locac.dat" >> "C:\ProgramData\progress.txt"

::mike


Report •
Related Solutions


Ask Question