Difference between revisions of "Startup.ms"

From MiniScript Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
The special file '''startup.ms''', if located at the root level of the [[user.minidisk]] file found by [[Mini Micro]] when it starts up, will be automatically loaded and run.
+
The file '''/sys/startup.ms''' is automatically run whenever [[Mini Micro]] launches.  Among other things, this file adds some useful globals like [[clear]] and [[color]].
 +
 
 +
If a '''/usr/startup.ms''' file is found, it will be run next.
  
 
See [[How to run a program on startup]] for more details.
 
See [[How to run a program on startup]] for more details.
  
 
[[Category:Mini Micro]]
 
[[Category:Mini Micro]]

Latest revision as of 02:18, 19 January 2021

The file /sys/startup.ms is automatically run whenever Mini Micro launches. Among other things, this file adds some useful globals like clear and color.

If a /usr/startup.ms file is found, it will be run next.

See How to run a program on startup for more details.