Re: Alternative to rar split files?



On 2007-10-30, Uwe Grauer <unews@xxxxxxxxxxxxx> wrote:
type file2 >> file1
type file3 >> file1

Type is usually used for viewing text files, similar to more. Either of
these would possibly be the better choice:

copy /b file1+file2+file3+file4 complete.file

or

copy /b file* complete.file
Any arguments why type can't be used or why copy should be saver?

None.

It used to matter, a *very* long time ago. I remember from my first PC (DOS
2.40) that the TYPE command was only used for text files. It would show
binary files, until it hit a char 26, which was used as EOF marker in text
files. That's where the /b option of the COPY command comes from. You had to
use it, if you wanted a binary copy.

That's no longer true since at least DOS 5.x, probably 3.x.

But as you can see - even from my posts - old habits don't die. I'm still
putting the /b after COPY, knowing perfectly it's pointless. :-)


--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
.



Relevant Pages

  • Re: JCL files from XP
    ... I also recommend the DOS program, ... think setup is something like ALT-P. ... change it to load past control Z, show binary characters, don't add ^z ... binary files. ...
    (comp.sys.tandy)
  • Re: how to run a DOS command
    ... Why not doing it from Access without shelling to DOS by using the filecopy ... Should work just like redirecting the output of the type command ...
    (microsoft.public.access.formscoding)
  • Re: keeping CMD window opened
    ... but if you go to start run and type cmd and click on ok you get the ... You can also type command and click ok. ... You can run Dos applications from there. ... >flash the DOS window and end. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Printing Files
    ... I'm sorry I'm not familiar with dos ... and type command ... > output to a textfile? ...
    (microsoft.public.windows.mediacenter)