Computing.Net > Forums > Windows XP > Batch to move multiple directories

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 multiple directories

Reply to Message Icon

Name: PeterHR
Date: December 19, 2008 at 12:11:43 Pacific
OS: Windows XP
CPU/Ram: 2.5GHz/4GB
Product: Acer / ASPIRE
Comment:

Hi,

I have the following directory structure:

d:\gpl\FTP\filezilla\v1.x\file.exe
d:\gpl\FTP\filezilla\v1.x\file.zip
d:\gpl\FTP\filezilla\v1.x\file.tar.gz
d:\gpl\FTP\filezilla\v2.x\file.exe
d:\gpl\FTP\filezilla\v3.x\file.tar.gz
d:\gpl\Browsers\mozilla\firefox\v0.x\file.exe
d:\gpl\Browsers\mozilla\firefox\v1.x\file.zip
d:\gpl\Browsers\mozilla\firefox\v2.x\file.zip
d:\gpl\Browsers\mozilla\firefox\v3.x\file.exe
d:\gpl\Browsers\mozilla\firefox\v3.x\file.tar.gz

etc...

I would like to keep the newest version (v3.x) and move older versions (v0.x, v1.x and v2.x) into:

d:\backup_v0.x\gpl\Browsers\mozilla\firefox\v0.x\file.exe
d:\backup_v1.x\gpl\FTP\filezilla\v1.x\file.exe
d:\backup_v1.x\gpl\Browsers\mozilla\firefox\v1.x\file.zip
d:\backup_v2.x\gpl\FTP\filezilla\v2.x\file.zip
d:\backup_v2.x\gpl\Browsers\mozilla\firefox\v2.x\file.zip

etc...

Is this somehow possible with a batch file?

Thanks in advance!

Peter



Sponsored Link
Ads by Google

Response Number 1
Name: fgdn17
Date: December 19, 2008 at 15:28:36 Pacific
Reply:

Of course it is...BUT...why not just select the ones you want to move,(you can select multiple things at the same time by using the shift key) cut, then paste into the new location??? Seems a lot simpler...IMO


0

Response Number 2
Name: PeterHR
Date: December 19, 2008 at 23:36:49 Pacific
Reply:

Great advice fgdn17, but what if there are more than 10000 of these folders? It would take weeks to create a copy of the folder structure, browse each subfolder, select it and then moving it. Not really practical, is it?


0

Response Number 3
Name: Johnw
Date: December 20, 2008 at 01:56:06 Pacific

Response Number 4
Name: PeterHR
Date: December 20, 2008 at 02:15:41 Pacific
Reply:

Those are nice programs, but still it does not do what I want. Keep new versions and move old versions.

This still requires user input, which is too labor extensive if you have 10000 folders to check.


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 Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Batch to move multiple directories

Batch to move the mouse by itself www.computing.net/answers/windows-xp/batch-to-move-the-mouse-by-itself-/167553.html

batch file to move multiple files to new fold www.computing.net/answers/windows-xp/batch-file-to-move-multiple-files-to-new-fold/175836.html

copy one directery to multiple directories www.computing.net/answers/windows-xp/copy-one-directery-to-multiple-directories/178518.html