- Jun 24, 2001
- 24,195
- 857
- 126
I'd like to make a batch (BAT) file that can split a large file into multiple smaller files... like, say, 50MB. I know it's possible because MS split all CABs into *exactly* 1.44MB in earier versions of Windows for easy backup onto floppy disks. The in-built command line utility appears to be "MakeCab." What little documentation I can find on MakeCab appears to be meant for a "directives" (DDF) file. I've tried passing them to MakeCab with the in a text file with the /F switch and it just generates an INF file. I think it's meant for inclusion in an installation program, like an MSI file.
Because there doesn't seem to be a way to split files using the command line without any additional programs not included with Windows (despite being able to merge them), this appears to be the next best thing to relying on another program. I'd really like to know how to do this for future reference. Thanks!
Because there doesn't seem to be a way to split files using the command line without any additional programs not included with Windows (despite being able to merge them), this appears to be the next best thing to relying on another program. I'd really like to know how to do this for future reference. Thanks!