<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.vogonswiki.com/index.php?action=history&amp;feed=atom&amp;title=How_to_create_an_autobackup_batch_script</id>
		<title>How to create an autobackup batch script - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.vogonswiki.com/index.php?action=history&amp;feed=atom&amp;title=How_to_create_an_autobackup_batch_script"/>
		<link rel="alternate" type="text/html" href="https://www.vogonswiki.com/index.php?title=How_to_create_an_autobackup_batch_script&amp;action=history"/>
		<updated>2026-04-29T16:11:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.2</generator>

	<entry>
		<id>https://www.vogonswiki.com/index.php?title=How_to_create_an_autobackup_batch_script&amp;diff=1215&amp;oldid=prev</id>
		<title>RacoonRider at 09:00, 16 April 2013</title>
		<link rel="alternate" type="text/html" href="https://www.vogonswiki.com/index.php?title=How_to_create_an_autobackup_batch_script&amp;diff=1215&amp;oldid=prev"/>
				<updated>2013-04-16T09:00:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:00, 16 April 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot; &gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;This autobackup script backs up autoexec.bat and config.sys every day.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;This autobackup script backs up autoexec.bat and config.sys every day.&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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Created &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;by Racoonrider &lt;/del&gt;for www.vogonswiki.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Created for www.vogonswiki.com&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;@ECHO OFF&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;@ECHO OFF&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>RacoonRider</name></author>	</entry>

	<entry>
		<id>https://www.vogonswiki.com/index.php?title=How_to_create_an_autobackup_batch_script&amp;diff=1214&amp;oldid=prev</id>
		<title>RacoonRider: /* External links */</title>
		<link rel="alternate" type="text/html" href="https://www.vogonswiki.com/index.php?title=How_to_create_an_autobackup_batch_script&amp;diff=1214&amp;oldid=prev"/>
				<updated>2013-04-16T09:00:04Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;External links&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:00, 16 April 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=External links=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=External links=&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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[http://www.robvanderwoude.com/batchfiles.php] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[http://www.robvanderwoude.com/batchfiles.php &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Rob van der Woude's Scripting Pages&lt;/ins&gt;] &amp;#160;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[http://lfntools.sourceforge.net/ LFN Tools for long file name support]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[http://lfntools.sourceforge.net/ LFN Tools for long file name support]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>RacoonRider</name></author>	</entry>

	<entry>
		<id>https://www.vogonswiki.com/index.php?title=How_to_create_an_autobackup_batch_script&amp;diff=1213&amp;oldid=prev</id>
		<title>RacoonRider: Created page with &quot;In dayly DOS experiments with retro hardware it is useful to have a script to automatically back up your autoexec.bat and config.sys files. While internet is full of different...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.vogonswiki.com/index.php?title=How_to_create_an_autobackup_batch_script&amp;diff=1213&amp;oldid=prev"/>
				<updated>2013-04-16T08:58:08Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;In dayly DOS experiments with retro hardware it is useful to have a script to automatically back up your autoexec.bat and config.sys files. While internet is full of different...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In dayly DOS experiments with retro hardware it is useful to have a script to automatically back up your autoexec.bat and config.sys files. While internet is full of different batch files and samples, but only few of them work in older DOS, namely 6.22. &lt;br /&gt;
&lt;br /&gt;
Here's a script that automatically backs up autoexec.bat and config.sys:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;This autobackup script backs up autoexec.bat and config.sys every day.&lt;br /&gt;
;Created by Racoonrider for www.vogonswiki.com&lt;br /&gt;
&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
VER|DATE&amp;gt;TEMP.BAT&lt;br /&gt;
ECHO SET DATE=%%4&amp;gt;CURRENT.BAT&lt;br /&gt;
CALL TEMP.BAT&lt;br /&gt;
DEL TEMP.BAT&lt;br /&gt;
DEL CURRENT.BAT&lt;br /&gt;
&lt;br /&gt;
md C:\AUTOBACK\&lt;br /&gt;
lmd C:\AUTOBACK\%DATE%&lt;br /&gt;
lcopy C:\AUTOEXEC.BAT C:\AUTOBACK\%DATE%\AUTOEXEC.BAT /y&lt;br /&gt;
lcopy C:\CONFIG.SYS C:\AUTOBACK\%DATE%\CONFIG.SYS /y&lt;br /&gt;
ECHO Backup created on %DATE%.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first six lines of this script capture system date. Than a directory with a name formatted &amp;lt;code&amp;gt;dd-mm-yyyy&amp;lt;/code&amp;gt; is created in C:\AUTOBACK\. Your autoexec.bat and config.sys files are copied in that directory. LFN Tools extension is used to handle long directory name containing system date.&lt;br /&gt;
&lt;br /&gt;
With this script added to your autoexec.bat (via &amp;lt;code&amp;gt;CALL&amp;lt;/code&amp;gt; function or by copying the lines directly), your autoexec.bat and config.sys will be backed up every time you turn on your PC. However, the files in the same &amp;lt;code&amp;gt;dd-mm-yyyy&amp;lt;/code&amp;gt; directory are overwritten.&lt;br /&gt;
&lt;br /&gt;
=External links=&lt;br /&gt;
*[http://www.robvanderwoude.com/batchfiles.php] &lt;br /&gt;
*[http://lfntools.sourceforge.net/ LFN Tools for long file name support]&lt;/div&gt;</summary>
		<author><name>RacoonRider</name></author>	</entry>

	</feed>