<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=4DOS_compressed_batch_file</id>
		<title>4DOS compressed batch file - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=4DOS_compressed_batch_file"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;action=history"/>
		<updated>2026-04-09T00:52:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;diff=47578&amp;oldid=prev</id>
		<title>Sembiance: /* Sample files */</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;diff=47578&amp;oldid=prev"/>
				<updated>2023-12-28T21:23:40Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sample files&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:23, 28 December 2023&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Sample files ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Sample files ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;https://telparia.com/fileFormatSamples/&lt;/del&gt;document/batchToMemory4DOS&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{DexvertSamples|&lt;/ins&gt;document/batchToMemory4DOS&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Links ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Links ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sembiance</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;diff=41333&amp;oldid=prev</id>
		<title>Sembiance: /* Sample files */</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;diff=41333&amp;oldid=prev"/>
				<updated>2021-11-24T14:27:47Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sample files&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:27, 24 November 2021&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Sample files ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Sample files ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* https://telparia.com/fileFormatSamples/document/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4DOSCompressedBatch&lt;/del&gt;/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* https://telparia.com/fileFormatSamples/document/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;batchToMemory4DOS&lt;/ins&gt;/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Links ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Links ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sembiance</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;diff=40713&amp;oldid=prev</id>
		<title>Sembiance: Added sample files</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;diff=40713&amp;oldid=prev"/>
				<updated>2021-09-20T20:48:30Z</updated>
		
		<summary type="html">&lt;p&gt;Added sample files&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:48, 20 September 2021&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* {{CdTextfiles|simtel/simtel0101/simtel/4dos/4dec101.zip|4DECOMP v1.01}} (1999) - Decompresses old and new format (DOS software)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* {{CdTextfiles|simtel/simtel0101/simtel/4dos/4dec101.zip|4DECOMP v1.01}} (1999) - Decompresses old and new format (DOS software)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* {{CdTextfiles|simtel/simtel0595/DISC1/4DOS/UCPBTM10.ZIP|UCOMPBTM}} (1993) - Decompresses old format (DOS software)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* {{CdTextfiles|simtel/simtel0595/DISC1/4DOS/UCPBTM10.ZIP|UCOMPBTM}} (1993) - Decompresses old format (DOS software)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== Sample files ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* https://telparia.com/fileFormatSamples/document/4DOSCompressedBatch/&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Links ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Links ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sembiance</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;diff=39452&amp;oldid=prev</id>
		<title>Jsummers: Created page with &quot;{{FormatInfo |formattype=electronic |subcat=Executables |extensions={{ext|btm}} |released=1993 }} The 4DOS command interpreter supports a compressed form of its batch file...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=4DOS_compressed_batch_file&amp;diff=39452&amp;oldid=prev"/>
				<updated>2021-03-07T22:20:40Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |formattype=electronic |subcat=Executables |extensions={{ext|btm}} |released=1993 }} The 4DOS command interpreter supports a compressed form of its &lt;a href=&quot;/wiki/Batch_file&quot; title=&quot;Batch file&quot;&gt;batch file&lt;/a&gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Executables&lt;br /&gt;
|extensions={{ext|btm}}&lt;br /&gt;
|released=1993&lt;br /&gt;
}}&lt;br /&gt;
The 4DOS command interpreter supports a compressed form of its [[batch file]]s. Batch files can be compressed using the included BATCOMP.EXE utility.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
[TODO: 4DOS's quasi-successor ''Take Command Console'' ([[Wikipedia:Take Command Console|Wikipedia article]]) also supports batch file compression. Is the format the same?]&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
Files in the original (4DOS 5.0) format start with bytes {{magic|0xeb 0xbe}}.&lt;br /&gt;
&lt;br /&gt;
Files in the newer (4DOS 6.02) format start with bytes {{magic|0xbe 0xeb}}.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* See the comments in SOURCE/4DOS/SOURCES/BATCOMP.C, in the 4DOS open source versions.&lt;br /&gt;
* {{CdTextfiles|simtel/simtel0101/simtel/4dos/4dec101.zip|4dec101.zip}} → README.TXT, VER100.DOC&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
* BATCOMP.EXE - Included with 4DOS (compression only)&lt;br /&gt;
* 4DOS: [https://www.4dos.info/sources.htm Source code], [https://www.4dos.info/v4dos.htm Downloads]&lt;br /&gt;
* {{CdTextfiles|simtel/simtel0595/DISC1/4DOS/4DECOMP.ZIP|4DECOMP v1.0}} (1993) - Decompresses old format (DOS software)&lt;br /&gt;
* {{CdTextfiles|simtel/simtel0101/simtel/4dos/4dec101.zip|4DECOMP v1.01}} (1999) - Decompresses old and new format (DOS software)&lt;br /&gt;
* {{CdTextfiles|simtel/simtel0595/DISC1/4DOS/UCPBTM10.ZIP|UCOMPBTM}} (1993) - Decompresses old format (DOS software)&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [[Wikipedia: 4DOS]]&lt;br /&gt;
* [https://jpsoft.com/help/batchcomp.htm Take Command: Batch File Compression]&lt;br /&gt;
&lt;br /&gt;
[[Category:Compression]]&lt;/div&gt;</summary>
		<author><name>Jsummers</name></author>	</entry>

	</feed>