Computing.Net > Forums > Programming > Batch to move all files in a list.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch to move all files in a list.

Reply to Message Icon

Name: Rakeris
Date: August 10, 2008 at 09:30:09 Pacific
OS: XP Pro SP3
CPU/Ram: 2.4GHz 2GB
Comment:

Ok. Say I have 500 folders, I want to only move the 200 I have in a list, the list has the full path name for each folder.

Ex.
E:\My Documents\Stuff\More Stuff\Folder 321

So, how can I make a batch file to move only the folders specified in the list.

Thanks!!



Sponsored Link
Ads by Google

Response Number 1
Name: ghostdog
Date: August 10, 2008 at 18:11:37 Pacific
Reply:

use the for loop to loop through the list, and moving them each time. To move files, use move. To see how the for loop works, do for /? on the command prompt


0

Response Number 2
Name: Rakeris
Date: August 11, 2008 at 06:40:12 Pacific
Reply:

Thanks for the help, took a couple attempts but I managed to get it to work!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch to move all files in a list.

Batch to move files www.computing.net/answers/programming/batch-to-move-files/15936.html

Delete Files in a directory older than X days www.computing.net/answers/programming/delete-files-in-a-directory-older-than-x-days/19781.html

Using Batch to Rename 'some' files www.computing.net/answers/programming/using-batch-to-rename-some-files/15862.html