4DOS compressed batch file

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Executables |extensions={{ext|btm}} |released=1993 }} The 4DOS command interpreter supports a compressed form of its batch file...")
 
(Added sample files)
Line 26: Line 26:
 
* {{CdTextfiles|simtel/simtel0101/simtel/4dos/4dec101.zip|4DECOMP v1.01}} (1999) - Decompresses old and new format (DOS software)
 
* {{CdTextfiles|simtel/simtel0101/simtel/4dos/4dec101.zip|4DECOMP v1.01}} (1999) - Decompresses old and new format (DOS software)
 
* {{CdTextfiles|simtel/simtel0595/DISC1/4DOS/UCPBTM10.ZIP|UCOMPBTM}} (1993) - Decompresses old format (DOS software)
 
* {{CdTextfiles|simtel/simtel0595/DISC1/4DOS/UCPBTM10.ZIP|UCOMPBTM}} (1993) - Decompresses old format (DOS software)
 +
 +
== Sample files ==
 +
* https://telparia.com/fileFormatSamples/document/4DOSCompressedBatch/
  
 
== Links ==
 
== Links ==

Revision as of 20:48, 20 September 2021

File Format
Name 4DOS compressed batch file
Ontology
Extension(s) .btm
Released 1993

The 4DOS command interpreter supports a compressed form of its batch files. Batch files can be compressed using the included BATCOMP.EXE utility.

Note that the .BTM file extension is not an indicator of compression. Most .BTM files are not compressed, and are covered in the Batch file article.

[TODO: 4DOS's quasi-successor Take Command Console (Wikipedia article) also supports batch file compression. Is the format the same?]

Contents

Identification

Files in the original (4DOS 5.0) format start with bytes 0xeb 0xbe.

Files in the newer (4DOS 6.02) format start with bytes 0xbe 0xeb.

Specifications

  • See the comments in SOURCE/4DOS/SOURCES/BATCOMP.C, in the 4DOS open source versions.
  • 4dec101.zip → README.TXT, VER100.DOC

Software

  • BATCOMP.EXE - Included with 4DOS (compression only)
  • 4DOS: Source code, Downloads
  • 4DECOMP v1.0 (1993) - Decompresses old format (DOS software)
  • 4DECOMP v1.01 (1999) - Decompresses old and new format (DOS software)
  • UCOMPBTM (1993) - Decompresses old format (DOS software)

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox