Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.msdos.programmer > #1304
| From | pete@nospam.demon.co.uk |
|---|---|
| Newsgroups | comp.os.msdos.programmer |
| Subject | Re: Splitting files under DOS? |
| Date | 2014-03-21 19:27 +0000 |
| Organization | PDL |
| Message-ID | <1395430029snz@nospam.demon.co.uk> (permalink) |
| References | <f8097e4f-5c47-4809-b62d-e61cb2f11633@googlegroups.com> <7102a072-d87b-4494-8485-f3b9f5c612c1@googlegroups.com> |
On 21st Mar 2014 at 07:18 "Harry Potter" <rose.joseph12@yahoo.com> wrote: > On Wednesday, March 19, 2014 12:18:16 PM UTC-4, Harry Potter wrote: > > What program can split and rejoin files under DOS? Where can I get it? > > I thank you all for your input. Now let me explain myself: I am experiment > ing with file compression. I am also working on earning some money to fix > a broken WinVista computer by selling freeware and shareware. Now, if I ha > ve the codec ready and better by then, I'll need a different method to spli > t files. For Win98, I use FFSJ. I need one for DOS. This is because, eve > n if I get some compression done, it won't reach the point to splitting fil > es. I will look at your information now. :) Selling freeware is a novel concept :-) However, if you can't find exactly what you are looking for it is not a big deal to write a file "chunker" and "rejoiner". As you are talking about compressed data I assume you want to split on file size rather than line count, so you just have to decide the "chunk" size. Splitting: * read 'chunk' bytes from file filename.bin * write to filename.001 (or filename.aaa if more than 1000 chunks) * write next chunk to filename.002 (or .aab) etc. etc. Rejoining: * prompt for "filename.bin" (or specify on command line) * build filename inside 3 nested loops (0 to 9 or A to Z) * open/read that file and write to filename.bin * keep iterating until no more files and append to filename.bin * done! Of course, that could be a single programme containing both functions but differentiated with a e.g. /J or -J switch on the commandline for the joining operation. I reckon you should be able to write that in less time than it takes to search for exactly what you want and download/test it... Pete -- Believe those who are seeking the truth. Doubt those who find it. - André Gide
Back to comp.os.msdos.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Splitting files under DOS? Harry Potter <rose.joseph12@yahoo.com> - 2014-03-19 09:18 -0700
Re: Splitting files under DOS? "Stanley Daniel de Liver" <admin@127.0.0.1> - 2014-03-19 16:33 +0000
Re: Splitting files under DOS? "Stanley Daniel de Liver" <admin@127.0.0.1> - 2014-03-19 16:50 +0000
Re: Splitting files under DOS? Ben Ritchey <fido4cmech@lusfiber.net> - 2014-03-19 17:22 +0000
Re: Splitting files under DOS? Mateusz Viste <mateusz.viste@localhost> - 2014-03-19 17:39 +0100
Re: Splitting files under DOS? Ben Ritchey <fido4cmech@lusfiber.net> - 2014-03-19 17:22 +0000
Re: Splitting files under DOS? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-03-19 21:49 -0400
Re: Splitting files under DOS? Harry Potter <rose.joseph12@yahoo.com> - 2014-03-21 07:18 -0700
Re: Splitting files under DOS? pete@nospam.demon.co.uk - 2014-03-21 19:27 +0000
Re: Splitting files under DOS? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-03-21 17:31 -0400
Re: Splitting files under DOS? Harry Potter <rose.joseph12@yahoo.com> - 2014-03-24 07:13 -0700
Re: Splitting files under DOS? pete@nospam.demon.co.uk - 2014-03-22 19:49 +0000
Re: Splitting files under DOS? Harry Potter <rose.joseph12@yahoo.com> - 2014-03-24 07:15 -0700
Re: Splitting files under DOS? "Bill Buckels" <bbuckels@mts.net> - 2014-03-31 13:16 -0500
csiph-web