execfile( )

This command is not available in
the RISC OS script interpreter.

Description

This will look at the last file that the script wrote to and attempt to find a handler for it according to its type, namely:
.txtText fileLoads into Notepad
.htm or .htmlHypertext fileLoads into Internet Explorer
.dpdOvationPro fileLoads into OvationPro

When a handler is found, the file will be loaded into that program.

This command asks the system, so it will detect if OvationPro is not present, and also if you have set up to use Firefox (etc) instead of MSIE.

Notes

The file verification stage, which takes place as the file is opened/created will block attempts to overwrite system files, to create .EXE or .DLL (etc) files.
While I cannot guarantee this system is completely secure, I have taken a number of steps to prevent scripts from performing destructive actions.