Before you say "programs have already been written that split files into segments", you should know two things: (1) I know that. (2) I wrote one of them. I wrote 'segfile.exe' to retrieve a file from a drive with some weird corruption that prevented Windows from copying from a certain offset. As it turned out, when I reassembled the segments the file was fine, but later that evening I found something called 'splitter.exe' in my Program Files directory, which I then recalled was also a program I had written (around 2001) for splitting files.
To prevent myself from writing a third file-splitting program some time in 2005, I thought it would be a good idea to upload this one, which has a better commandline interface than the first, to my website archive, 2003-Jul-16.
- - - [Usage] - - -
Running the program directly will put you into interactive mode, where you enter whether you want to split one file or join pieces together. If you are splitting, you must then type in a size for the segments. If you are joining, the filename must be the original file's name (i.e. without the numbers attached to the end of the piece filenames).
From the commandline,
- There is one way of splitting:
- segfile filename segment_size
- There are two ways of joining:
- segfile join filename_stump
- segfile filename_stump join
Remember that in the Windows commandline, filenames with spaces in them should be enclosed in "these quotes". The output from this program will be placed in the directory where the input file was, unless you are splitting an input file on read-only media, in which case the output segments will be dumped in the current working directory.
- - - [Download] - - -
To use as a commandline utility, place the EXE in your windows directory or system path.