Move files by list?
Telmore
07-10-2005, 01:36 AM
Is there a program that will move a list of files in, say, a .txt file from
one folder to another?
Tia
Tony
Bob I
07-10-2005, 01:36 AM
The "move" command could be edited into the text and then change .txt to
..bat
at the command line see
MOVE /?
Telmore wrote:
> Is there a program that will move a list of files in, say, a .txt file from
> one folder to another?
>
> Tia
>
> Tony
S.Sengupta
07-10-2005, 01:36 AM
more information here regarding 'move' command:-
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/move.mspx
regards,
ssg MS-MVP
Telmore wrote:
> Is there a program that will move a list of files in, say, a .txt file from
> one folder to another?
>
> Tia
>
> Tony
billious
07-10-2005, 01:36 AM
"Telmore" <Telmore@discussions.microsoft.com> wrote in message
news:5D388F53-3CE8-4D18-84C7-4BD8BEBA38E9@microsoft.com...
> Is there a program that will move a list of files in, say, a .txt file
> from
> one folder to another?
>
> Tia
>
> Tony
Certainly.
At the command prompt,
for /f %i in (list.txt) do move %i destinationfoldername
There are a few tricks if you use spaces in filenames or if you want to
incorporate this activity into a batch file (for scheduling) or if you want
the process to handle the situation where the file already exists in the
destination folder.
Try asking in alt.msdos.batch.nt and give a few examples (list.txt contents,
destinationfoldername, what to do in case of error and so on...)
HTH
....Bill
Move files by list?