Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Moving a list of files  (Read 2941 times)

0 Members and 1 Guest are viewing this topic.

teledon

  • Guest
Moving a list of files
« on: December 23, 2011, 01:25:49 PM »
I have a folder with 20K files in it. I have a text file called mvfile.txt which has a list of names of about 1000 files in it. I want to move all of the files listed in mvfile.txt from the original folder to a new folder. What is the Windows command line to do that?

Teledon

Squashman



    Specialist
  • Thanked: 134
  • Experience: Experienced
  • OS: Other
Re: Moving a list of files
« Reply #1 on: December 23, 2011, 02:47:46 PM »
Code: [Select]
FOR /F "tokens=*" %%I in (mvfile.txt) do copy "%%I" "c:\some other folder\"