unganisha.org
Home :: Utilities collection :: Winsplit

Winsplit 1.0.8

You have reached the home of Winsplit 1.0.8, the light weight file splitting/joining application for Win9x/NT platforms

Download Winsplit 1.0.8 (BUILD 020118) :

What does it look like ??? :

Winsplit Screenshot
Winsplit Screenshot

Does anyone use this thing ?

Surprisingly , yes...over a 100,000 people have downloaded it from download.com since it was put there in the year 2000. I dont know how many people downloaded it from tucows.com. I get emails from people who picked it up from magazine CD-ROMs so I guess it must be used quite a bit....

How much does it cost ?

Winsplit can be downloaded & used for free.
There are -no- nag boxes, -no- "gimmee money or else ..." messages.
Feel free to distribute it .

I like winsplit ... I want to send you some money ?

Actually, what you could do is spend some time at a local charity / social welfare group and help them out....They need Your time more than your money... !!! that would do for me...
If you still want to send me money 10 bucks for a beer ;-) wouldnt be bad...

What do i do if i find a bug ?

If you are not running 1.0.8 BUILD NO 020118, please download it , it fixes quite few bugs.
if you are running 1.0.8 then :
You can inform me by email [ashok(at)techie.com].
I may take my time but I will fix it ...

How do i check the build no ?

Click on the about button of WinSplit. The first sentence will be somethin like "Winsplit 1.0.8 (020118)" the no. in brackets is the Build no.

I am a student doing a school project can you help me do it ?

Please...Please... I dont have time to do my own little projects like this one... so gimme a break.

Start by listenig to some good music {i can strongly recommend the Barenaked Ladies as a starting point}
goto msdn : MSDN or googleize your questions : Seach google.

We are publishing a magazine CDROM and would like to include this application ?

Yep

What are these 3 splitting options about ?

  • Pieces This is probably what you will use most. This allows you to speciy the no. of pieces you want the file to be split as. say you have a file of size 1 mb and you specify Pieces as 3 . The file will be split in exactly 3 pieces.
  • Size This allows you to specify the size of each split piece. say you have a 2 mb file and you want to split it into pieces of size 500,000 bytes each. specifying that number (in Megabytes ,Kilobytes or bytes) as the size of each piece will do just that. [Note : 1 Kilobyte = 1024 bytes 1 Megabyte = 1024 kilobytes]
  • Keyword This allows you to split a file based on a keyword . say you have a large text file and you want to split it at every occurence of the word 'page' or the phrase 'page no.'. then winsplit will do just that. [To date 1 user has written back saying that he has actively used this feature -- apparently he had a text file and had a task which involved extracting each word in the text file into a separate file. He ended up using WinSplit and gave the KEYWORD as a space , and ended up with a few thousand files each containing a word from the document !].

How do i get winsplit to span floppies like WINZIP does ?

Winsplit does not span floppy disks, you can split the pieces to hard disk and then copy the pieces individually to the floppy diskettes.

How do i join the pieces back ?

There are two methods to join pieces back.
a)Using Winsplit itself :
Select the 'Join' Option button (under 'Do you wish to split or join files ?') Now click on source file and browse to the folder where you have kept the split pieces. The .1 file (the first piece of the file you had split) should be visible , select that. Now select a target directory (where you want the original file to be recreated ). Now Click Join. The file should have been recreated in the target directory.
b)Using the genarated batch file :
Check the generate batch files option BEFORE splitting, this will create a batch file which when run will recreate the original file.
Note : the batch file is created in the same folder in which the split pieces are kept [i.e. the target folder]. executing this batch file will recreate the original file.

I FTP-ed the split pieces to a Mac OSX / Linux box , how do I re-join the pieces now ?

Thanks to Thomas Rix there is a solution now , it basically reads the Join.bat and converts it to equivalent unix commands on the fly . Read below for further details.


Dear Ashok,
i am using WinSplit (V1.0.8 b010325) for transferring downloaded Data from my company-NT-Client to my private Macintosh computer running MacOS X.

The generated batch-file JOIN.BAT for the downloaded Maya PLE goes like that: (little spelling error marked ;-)

I had to translate this batch to an UNIX shell-script: (Note the MS-DOS filenames due to disk-based transfer via an old OS7.5-Mac, wich is in fact my only remaining disk drive)

To work properly under UNIX, the CR-LF-newline sequence from MS-DOS has to be converted to LF. If not, the CR-character will be added to the wnsplt.tmp filename and the renaming would fail due to an expected file whose name has not an ending CR.
Alternatively wnsplt.tmp can be enclosed in double quotes.

The script can be executed directly with the x-flag properly set or with 'sh batchfilename'.

If you should plan to release this UNIX-feature, please include the option to handle MS-DOS filenames instead of Joliet. I have not tested this script under LINUX yet. For automatic translation i developed this script: ([sh] join [MS-DOS name base]) :

I had to replace the Joliet with the MS-DOS filename base to get this working: sh join MAYAPL~1. I have not tested this script under LINUX either.
Hope this is useful.
Thomas Rix
http://www.thorix.de


I actually did test it on a Linux box (Caldera 3.1) & it worked fine with minimal modification ! And it seems work even with Joliet file names.
Thanks Thomas !
In the next release i'll build in the option of generating a unix shell script as recommended by Thomas. In the meanwhile can download the join shell script from here : Mac OSX / Linux shell script (zip file, 883 bytes)

I am getting errors while running the batch file ?

Check that you have 1.0.8 and above versions, prior versions used to have a bug in the batch file with respect to carriage returns in the JOIN.BAT which causes the file not to get executed under win 9x (though it works in Winnt). If you have a batch file prior to 1.0.8 do the following :
a) launch a command prompt in the folder where join.bat resides. [if join.bat resides in d:\split_files, go to explorer click on d:\split_files to make it the current folder and then select startmenu->run and type 'command' and press enter]
b) in the command prompt type : edit join.bat. the file should open in the dos editor edit .
c) now go to File->Save, after saving exit out.
d) The batch file should be OK now.

What is the biggest file that WinSplit can split ?

It maxes out at around just above 2 gigs , the next fix release will remove this limitation

What is winsplit written in ?

Winsplit was completely written using the Win32 SDK APIs, using Visual C++ 6.0 as a development tool. It is completely written using the standard SDK which accounts for its -small- size [48KB] and does not require any additional vbxxx or mfcxxx runtimes.

What is this new CRC check feature ?

Its not mandatory to use this feature , you may if you want to :
This feature allows you to check the consistency of joined files. Typical problem : you split a 5 meg JPG file into 5 pieces and copy them through floppies to another PC and rejoin the pieces.....
Now you can check if the rejoined file is EXACTLY same as the original by using the CRC feature [inconsistencies arise because of bad floppy disk media].

To use : Check the 'CRC Check ?' check box before splitting. If you were splitting called archive.zip into 3 pieces , in the target folder you would now find the following files :
archive_zip.1
archive_zip.2
archive_zip.3
archive_zip.CRC <-- this is the CRC file
If you want winsplit to verify the CRC while joining back the pieces you will have to copy this .CRC file into the same folder as the split pieces. [CRC checking is not available when using the batch file to join files.]

BUGTRAQ

Is WinSplit CRC32 compliant ?

Yes ! WinSplit is CRC32 compliant.

I am a foriegn keyboard user , i am unable to type the number of pieces ?

Please use the numeric keypad to enter numbers. only 1.0.8(010303) versions and above allow you to use the numeric keyboard.

I split some MP3 files , now i am unable to join them back ?

Yep, that was a problem in the earlier release 010325 the current release fixes that bug...

I cant seem to find any documentation ?

I know... I'm a lazy bum , this is all i could write...

[Thanks to all the individuals who reported bugs.]

BUG FIXES SINCE 1.0.8 (020118)
  • Buffer overflow problem caused files with long names to not join (esp. mp3s)
BUG FIXES SINCE 1.0.8 (010325)
  • Added a few optimizations
  • plugged a memory leak
BUG FIXES SINCE 1.0.8 (000103)
  • Foriegn keyboard users (correction , only the french complained) were unable to use the numeric keyboard to enter no.s
  • On some pcs (win9x i suspect) there used to be "Out of memory" errors when trying to split very large files, caused due to usage of memory mapped files. <rant>windows memory manager is so crappy...</rant>
BUG FIXES SINCE 1.0.7
  • JOIN.BAT used to be written unix style with \n carriage return, changed it to put \r\n.
  • Added a check for 0 length source files
  • Added checks for blank source, target or keyword fields.
BUG FIXES SINCE 1.0.5
  • Join.bat used to fail in case of very long file names -- changed way in which the batch file was genarated.
  • sneaky bug caused extra file to be put for joining in batch file.
  • Renamed binary from KsplitW to Winsplit.