make dir and move part1 2 3 4 etc to same directory

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
xassnake
Posts: 8
Joined: 01 May 2011 04:29

make dir and move part1 2 3 4 etc to same directory

#1 Post by xassnake » 06 May 2011 14:57

Hi i need some help

this is the situation

i have a directory tree like this

root= c:\dir
subdir = photomap (and more sub-sub dirs)

i have photomap archived with winrar
in the root i see photomap.part1 to photomap.part46
i move all rar files to another directory c:\dir2

i want to make a batchfile that wil make a directory by filename (only photomap without part1 2 3 4 ....) and move this part1 to part46 files to 1 directory

or delete all files and subdirectories in photomap and move part1 to 46 to photomap dir


is this possible?

thanx for your help

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: make dir and move part1 2 3 4 etc to same directory

#2 Post by aGerman » 07 May 2011 15:51

It's possible I guess, but I don't understand the requirement. Maybe you should explain it some more.

Regards
aGerman

xassnake
Posts: 8
Joined: 01 May 2011 04:29

Re: make dir and move part1 2 3 4 etc to same directory

#3 Post by xassnake » 09 May 2011 22:11

i use par2 in batch to create recoveryfiles
because par2 make recovery files of all files (i dont want that) i want to keep the archived files and delete the other ones

it's only possible to create par2 recovery files in directory's

Post Reply