home *** CD-ROM | disk | FTP | other *** search
-
- MSplit V1.1
- © 1995 by Harald Löffler
-
- PREFACE
-
- The programs and files in this distribution are freely distributable,
- but are also Copyright © Harald Löffler. They may be freely distributed
- as long as no more than a nominal fee is charged to cover time and
- copying costs. No commercial usage is permitted without written permission
- from the author. Everything in this distribution must be kept together, in
- original unmodified form. The only thing I ask for is to send me a mail and
- tell me, what you think about MSplit.
- The above is generally known as mailware.
-
-
-
- 1. Introduction
- ---------------
-
- For all those that frequently have to split files with a similar basename,
- I´ve written this little tool. It can do this job in a very easy way.
- Hope ya like it ;-)
-
-
-
- 2. Installation
- ---------------
-
- Just copy MSplit to your C: directory and the doc to your favourite DOC-dir.
- That´s all.
-
-
-
- 3. How to use it
- ----------------
-
- The easiest way is this one: Msplit file
-
- This will split file into file0 and file1. The size of the splitted files
- will be half of the original file.
- In other purposes you have to use the various parameters.
-
-
-
- 4. The parameters
- -----------------
-
- The general form is:
-
- MSplit <filename> [FROM start] [INTO basename] [SIZE s] [PARTS n]
- [NULL|QUIET|FORCE]
-
- Filename is the name of the file to be split.
-
- The basename should contain a wildcard at the position where the numbers should
- appear. E.g. if files like abc1def, abc2def, .. should be build, the basename
- should be like this: abc*def
-
- FROM means the number in the first splitted file; the number to start with.
-
- With INTO you can specify a name for the files that will be created. The wildcard
- is described above. If you do not specify this, filename* will be used instead.
- If a basename exists, you will be asked to use parameter FORCE to overwrite it.
-
- The QUIET option forces MSplit to stop all printouts unless there is something
- wrong with the parameters.
-
- The NULL option is something special. If forces MSplit to create files with 00
- instead of a single 0 in the basename. It will do this untill 9 (09). Then it
- proceeds normaly.
-
-
- 5. DISCLAIMER
- -------------
-
- This program is released as is. No warranty on any damage or misfunction.
- Use it or kick it.
-
-
-
- 6. Author, bugs, to do´s, etc.
- -----------------------------
-
- First of all I want to say that I´m very sorry about uploading the wrong
- doc with the last version.
-
- Stuff I want to do in future: Tell me what you want!
-
- I´ve included the source, so you can easily port it to any platform, that
- supports ANSI-C. The only thing you have to do is delete the following lines
-
- #include <exec/types.h> /* BOOL etc. Type-Definitions */
- #include <dos/dos.h> /* Definition of RETURN_FAIL etc. */
-
- and add this ones
-
- #define BOOL int
- #define TRUE (0 == 0)
- #define FALSE (0 == 1)
- #define RETURN_OK 0
- #define RETURN_WARN 5
- #define RETURN_ERROR 10
- #define RETURN_FAIL 20
-
- Maybe you have to replace the Umlaut in my name (sorry, but AMIGAs have no
- problems with this ;-)
-
-
- If you have found some of this ugly bugs :( , want to make some suggestions :)
- or tell me :-) something else, write to:
-
- ----------------------------------------------------------------------------------
- | _/ _/ _/ | Harald Loeffler | __o |
- | _/ _/ _/ | Schenkenbergstrasse 12 | _`\<; | If possible,
- | _/_/_/_/ _/ | 73733 Esslingen | (*)/(*) | please use
- | _/ _/ _/ | Tel: (07 11) 32 41 93 | MT-BIKE | e-mail!
- | _/ _/ _/_/_/_/ | E-Mail: harry@studbox.uni-stuttgart.de | forever ! |
- ----------------------------------------------------------------------------------
-
- You think MS-WINDOWS ist the longest bug overall?
-
- There will always be an update, so wait for WINDOWS 95!
-