When opening or saving files, commands such as opendialog() produce a dialog which opens at a default directory. This example script shows how to source and change this default directory. The current default path is sourced and an open dialog command points to it by way of demonstration. Next a new default path is created by the script (the Digital Micrograph Folder), and an open dialog points to it. Finally, the default folder is restored and an open dialog points to that.