<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=How_to_run_a_program_on_startup</id>
	<title>How to run a program on startup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=How_to_run_a_program_on_startup"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=How_to_run_a_program_on_startup&amp;action=history"/>
	<updated>2026-04-09T03:18:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=How_to_run_a_program_on_startup&amp;diff=129&amp;oldid=prev</id>
		<title>JoeStrout: Created page with &quot;In Mini Micro, any program found at /usr/startup.ms on the default user disk is run when the machine starts up.  You can use this when packaging your game for distribution...&quot;</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=How_to_run_a_program_on_startup&amp;diff=129&amp;oldid=prev"/>
		<updated>2020-03-11T22:39:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In &lt;a href=&quot;/wiki/Mini_Micro&quot; title=&quot;Mini Micro&quot;&gt;Mini Micro&lt;/a&gt;, any program found at /usr/startup.ms on the default user disk is run when the machine starts up.  You can use this when packaging your game for distribution...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In [[Mini Micro]], any program found at /usr/startup.ms on the default user disk is run when the machine starts up.&lt;br /&gt;
&lt;br /&gt;
You can use this when packaging your game for distribution, to make your game load automatically; or you can use it to streamline your workflow.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example program, saved as /usr/startup.ms, loads another program called &amp;quot;MyCurrentProject.ms&amp;quot; so that it is loaded and ready as soon as the machine boots up.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;// Load our current project so we can get right to work.&lt;br /&gt;
path = &amp;quot;2dVis&amp;quot;&lt;br /&gt;
load path&lt;br /&gt;
print path + &amp;quot; loaded and ready!&amp;quot;&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For distribution, instead of the final &amp;lt;msinline&amp;gt;print&amp;lt;/msinline&amp;gt; statement, the [[run]] command could be used to automatically run the freshly loaded program.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;br /&gt;
[[Category:How To]]&lt;/div&gt;</summary>
		<author><name>JoeStrout</name></author>
		
	</entry>
</feed>