settings.save
From ComputerCraft Wiki
![]() | |
Saves all current settings - including those loaded as defaults - to the specified file, as a serialised table. If a file titled ".settings" is saved to the root of a computer's drive, it will be automatically loaded on startup (without need to call settings.load()). | |
Syntax | settings.save(string path) |
Returns | boolean success |
Part of | ComputerCraft |
API | settings |
Examples
![]() | |
Disables use of startup files from floppies on subsequent reboots by saving a new default settings file. | |
Code |
settings.set("shell.allow_disk_startup", false) settings.save(".settings") |
![]() |
---|
settings.set - settings.get - settings.unset - settings.clear - settings.getNames - settings.load - settings.save |