MAKBATCH.EXE

UPDATE VERSION 042600: Added compatibility for files split with MasterSplitter-type splitters...When prompted for target filename, use this syntax: 
If piece is named "test.zip.001", enter "test.zip.zip". Target file will be named so, and you can trim off the extra extension, if you want.


Please note that MAKBATCH was written primarily for use by CHOPPER. Therefore, it contains no error trapping events. If you enter an invalid filename (a name with no extension), an output path that does not exist, or an invalid number (includes letters, commas, special characters, and numbers greater than 999), MAKBATCH will probably crash. I doubt this will cause any damage to MAKBATCH, and certainly won't harm your system, but it's a pain in the butt ! Please make sure you enter the info correctly, and double-check before continuing. Future versions might include some error-trapping events.

*******

The purpose of this program is to make a batch file to regroup pieces of a file back into the original file. This program was written specifically for CHOPPER, but as I needed to test it in a variety of different ways, I added some stand-alone functionality to it. 

You are welcome to use MAKBATCH to create your own batch files, outside of the CHOPPER interface. To do this, just double-click MAKBATCH.EXE. First, you will be prompted for a filename. Enter the name of the file you want the pieces copied into. Don't enter the path of the file here. Just the filename itself (i.e: test.zip)

Hit the enter key, and you will be prompted for an output path. This is the path where you want the batchfile created. For example, if you wanted the batch file on your desktop, you would type "c:\windows\desktop\" (without the  "", of course). It's ok to omit the last "\". MAKBATCH will put it there, if need be. 

Next, you will be prompted for "Number of pieces". This is the number of pieces you want the batch to copy. MAKBATCH is limited to 999 pieces. 
Next, you will be prompted for "ADVANCED". Enter "y" if you want an advanced batch file, or "n" if you want a standard batch file (see below for details).

As you will see, it doesn't take long to make a batch file. Almost as soon as you hit the ENTER key, it's done. I have experienced "Out of High Memory" errors, when useing large "Piecenums", but even with the error the batch file was created. If you get an error, check first to see if the batch was created properly. 


DETAILS:
The ADVANCED option will create a batchfile that, when run, first checks to see if all the pieces are in the current directory, then copies the pieces, and deletes unnecessary files. (It does not delete the pieces. Future versions may do so). 
The STANDARD option creates a batch that only copies the pieces. No checks are made, and no pieces are deleted. I recommend this option if you plan to chop a file for others to download/use. 