MSDOS expert required

It's too long ago, I can't remember...

When 4.3 is released, I will be uploading it in pieces, to make it easy for those on dialup.

So, pup-430.iso will be split into xaa, xab, xac, xad, xae, etc.

After downloading, if running Linux it is easy to put them together:

# cat x* > pup-430.iso

However, does anyone know the equivalent to that in a Windows DOS-box?

Um, I presume that you can still open a DOS-box in Windows? Perhaps the average Windows user would need instructions how to do that, open it wherever they have downloaded the files?

I'll provide the pieces on ibiblio, and a readme that tells how to assemble them.

Of course, in the future they will be able to use our Xdelta file difference manager.

Posted on 16 Sep 2009, 18:27


Posted on 16 Sep 2009, 18:49 by IAmnikin
merge in windows
This is what you arelooking for

Posted on 16 Sep 2009, 19:06 by Sage
split and join
I use Part-It but there are others. Android for PCs was recently released as 0.2 (it doesn't work!) in two parts. Their website recommended a couple of other free DOS/'doze utilities to stitch the parts together (that process did work).

Posted on 16 Sep 2009, 19:15 by linuxcbon
from elliottback
They say this works :
copy /b x* pup-430.iso /b

Posted on 16 Sep 2009, 19:38 by headfound
hjsplit can join files on windows
hjsplit is a small windows utility that can join files (also for dos and linux!)

Posted on 16 Sep 2009, 19:41 by D2R
I'm no expert but for Windows XP
Start>programs>accessories>command prompt

then try
copy *x pup-430.iso

I think that should work
D2R - Puppy lover since 1.09

Posted on 16 Sep 2009, 19:55 by ICPUG
Reading from my MSDOS v.5.0 reference manual linuxcbon is nearly right and D2R is either dyslexic or not an expert (just kidding).

copy /b x* pup-430.iso

should suffice.

The /b indicating binary files works on all files until a /a paremeter is met so the final /b of linuxcbon is not necessary, but probably does no harm.

Posted on 16 Sep 2009, 20:08 by purple_ghost
Split Program

I have not tested it. Good thing being user would ask questions of someone besides the Puppy Forum for Windows problems.

Posted on 16 Sep 2009, 21:45 by pstef
WinRAR can extract tared data and can merge splitted archives, so maybe it is able to merge splitted tar archive?

Posted on 16 Sep 2009, 22:14 by MattN
DOS reassemble
You have to be careful when you use wildcards in DOS. If you have any fragmentation you will get the files as DOS wants to get them. The best way is to specify each file as it is to be put in place (i.e. COPY /b xaa+xab+xac+xad+xae pup-430.iso).

Posted on 16 Sep 2009, 23:40 by gulk
type in DOS =? cat in Linux
I just ran an experiment and found that for DOS/Windows users:

type x* >pup-430.iso

should work.

Posted on 16 Sep 2009, 24:12 by William Hales (Dthdealer)
Tool to split file in windows (CHUNK)
If you need to split something on a *shiver* Winblows system try CHUNK.

I don't know if it can put them back together though.

Posted on 17 Sep 2009, 4:04 by maggie thatcher
Invitation to winblowers ?
Do you think this way of downloading will invite many Winblowers ?

Especially when you see already now how experts have a little struggle on "howto".

Posted on 17 Sep 2009, 4:33 by RetroTechGuy
Copy but verify...
After using the "copy /b ..." command, be sure to check the md5. Sometimes MS collects the files out of order, and you might end up with garbage.

If this happens, you can, of course, specify each file in sequence, and assemble them correctly...

Or we could put a batch file up with sections, to eliminate that problem.

Posted on 17 Sep 2009, 4:45 by RetroTechGuy
Further thoughts on Windows
Barry writes: "Um, I presume that you can still open a DOS-box in Windows?"

At least through XP. Win ME was the last system with a "real" dos command prompt, the newer systems are sometimes fussier about stacked commands (like pipes and redirects).

For old DOS users, XP has the peculiarity that it doesn't load the autoexec (and hence your path). You can fix it by manually running your autoexec.bat, or by linking the command into the DOS prompt launch (create a shortcut to "cmd", and set the properties "target" line to "C:\WINDOWS\system32\cmd.exe /K c:\Bin\autoexec.bat", where C:\Bin\autoexec.bat is your preferred file).

I have heard rumors that Vista (I don't and WON'T have it, so I cannot confirm) no longer has "cmd.exe", so you may not have a command prompt.

Posted on 17 Sep 2009, 4:49 by RetroTechGuy
BTW, I use Firefox, with the "downloadthemall" plugin, which (most of the time) allows the download to be paused and restarted.

IIRC, wget can also be configured to continue a download, rather than restart.

And there are other recoverable FTP clients available.

Posted on 17 Sep 2009, 5:43 by RetroTechGuy
MD5 for assembled images?
Hi Barry,

Just checked the ibiblio site and see your pieces.

It would also be a good idea to add the md5 for the assembled image into the md5sums.txt file
(so the user can confirm that the reassembly was successful), or just make a note as to where the md5 can be found...

Posted on 17 Sep 2009, 6:22 by pstef
Windows users don't use any kind of command prompt so I don't understand why are you talking about how to force them to merge file chunks into a file. Use GUI application.

What's more important is that dividing the file into pieces won't make downloading it any easier. It's almost year 2010 for God sake, people have download managers...

Posted on 17 Sep 2009, 6:58 by cthisbear
To ke-mo sah-bee from Tonto.

Why go down this road for Gods sake.

Split the Iso for dialup people and upload.

Post the full ISO from the telecentre in Penjori.

PM me and I'll send you the money Pronto.
And I mean quick.

Problem over.
Who wants to go doing that crap.
Sorry don't mean to be so uncharitable.


Posted on 17 Sep 2009, 8:41 by BarryK
Download pieces
I'm providing the iso in pieces because dialup people have asked me for this many times.

Apparently some people do have an easier time of it downloading a number of smaller files.

cthisbear, you seem to have the wrong end of the stick -- I will of course be providing the full files.

Regarding uploading speed, my satellite connection is ok, the main problem is ibiblio itself. They throttle the transfer rate at about 10.5KB/sec, so a 100MB file takes about 2.5 hours to upload.

Regarding the pieces being already on ibiblio -- sh, sh, that's a secret! I'm still testing. I have done a retro build with kernel, have been testing that, will upload that too ...maybe tomorrow.

Posted on 17 Sep 2009, 8:32 by cthisbear
" cthisbear, you seem to have the wrong end
of the stick -- I will of course be providing
the full files."

Ouch! That wasn't a stick, that was a boomerang.
Sorry BK for the misunderstanding.

Forgot about ibiblio transfer rate.

As always...cheers....Chris.

Posted on 17 Sep 2009, 8:53 by pstef
"Apparently some people do have an easier time of it downloading a number of smaller files."

I won't tell you what to do with your time, but if I were you, I'd tell those people to use one of download managers that are able to continue download. Splitting files for this kind of purpose is pure nonsense.

Posted on 17 Sep 2009, 9:01 by cli_user
md5sum of rejoined iso
I suffered through this for years.
1. copy /b xaa+xab+... > full.iso
2. md5sum.exe -c md5sums.txtn

Add the full.iso md5sum to md5sums.txt.
Here's the URL OpenOffice provides for md5sum utilities, plus the md5 firefox plugin:

Posted on 17 Sep 2009, 11:50 by adi
all in one
I use "total commander" to join files with windows. It has two windows and it is free to try. No command line needed.

Posted on 17 Sep 2009, 23:14 by PathFinder_Cate
DOS code

After reading MattN's comment I wasn't going to add anything, but reading the others, here's mine.

Vista does have a command prompt that you can run, and even if it didn't, you could use FreeDOS's (renamed to

If you would rather use a DOS batch file, you could use something like the following (I call it stitch_puppy.bat):

:: Written by Kenneth H. Cate, 2009-09-16
@echo off
set VN=430
if not %1! == ! set VN=%1
set LST=
for %%A in (xaa,xab,xac,xad,xae,xaf,xag,xah,xai,xaj,xak,xal) do call :ADD1 %%A
set CMD=COPY /b %LST% pup-%VN%.iso
if "%LST%" == "" set CMD=Could not find the parts
echo %CMD%
if not "%LST%" == "" %CMD%
if exist pup-%VN%.iso if exist md5sums.txt md5sum -c md5sums.txt
goto EOF

if %1! == ! goto EOF
if not exist %1 goto EOF
if not "%LST%" == "" set LST=%LST%+
set LST=%LST%%1

I use batch files to automate repetitive tasks all the time on Windows systems; it's bash scripting that I'm trying to learn.

Posted on 17 Sep 2009, 23:15 by RetroTechGuy
RE: Download pieces
Barry writes:

"Apparently some people do have an easier time of it downloading a number of smaller files."

This is quite true. Also, when something does puke (and it will at some point on dialup), it's far easier to restart a 10 MB file, than to start over on the 100 MB image...

[BTW, "pstef"'s comment that "Windows users don't use any kind of command prompt..." is incorrect. More correctly, MOST Windows users don't a command prompt (I do so all the time...) ;) ]