Section 8. Operation
'Run Program on Power-up
'Copy program file pwrup.cr1 from the external drive to CPU:
'File will run only when CR800 powered-up later.
'Format the USR: drive
5,,usr:
'Send OS on Power-up
'Load an operating system (.obj) file into FLASH as the new OS.
'Run Program from USB: Drive
'A program file is carried on an external USB: drive.
'Do not copy program file from USB:
'Run program always, erase data.
13,toobigforcpu.cr1,usb:
'Run a program file always, erase data.
'Run a program file now, erase data now.
Power-up.ini Execution
After powerup.ini is processed, the following rules determine what CR800
program to run:
• If the run-now program is changed, then it is the program that runs.
• If no change is made to run-now program, but run-on-power-up program
is changed, the new run-on-power-up program runs.
• If neither run-on-power-up nor run-now programs are changed, the
previous run-on-power-up program runs.
8.8.4.5 File Management Q & A
Q: How do I hide a program file on the CR800 without using the CRBasic
FileManage() instruction?
A: Use the CoraScript
(p. 493) File-Control command, or the Web API (p. 435, p.
435) FileControl command.
8.8.5 File Names
The maximum size of the file name that can be stored, run as a program, or FTP
transferred in the CR800 is 59 characters. If the name is longer than 59 characters,
an Invalid Filename error is displayed. If several files are stored, each with a