I use the following command to combine multiple files into one.
copy "c:\x\y\z\Combine Work\*.avi.*" /b "c:\x\y\z\Combine Work\combined.avi" /b
I have used the full address of the file (names have been shortened). I use the command in a bat file called combine.bat.
Is there a way to modify the address so it will automatically use the files within the folder that the bat file is in? I don't want to use a change directory command since I want it to work in any folder automatically. Now it only works in the "Combine Work" folder. I would like it to work in any folder without modification.
2007-08-14
13:12:38
·
5 answers
·
asked by
Barkley Hound
7
in
Computers & Internet
➔ Programming & Design
It does work as I wanted as
copy "*.avi.*" /b "combined.avi" /b
with the bat file in the folder with the avi files.
The copy command works great when doing a merge. These are not separate AVI files but actual segments of the whole that are downloaded from binary newsgroups. There may be other ways to combine them but I have used this method for years with no problem.
2007-08-14
13:45:55 ·
update #1