This very small program would be useful in situations where you don't want people playing with CD drive - "oo look - it opens! it closes! it opens! it closes!" type of thing, or if you don't want people changing the CD etc - it simply gives you command over the situation.
When run the program will produce a menu with 9 options:
1. Lock the CD drive. This makes the load/eject button stop working - you can now no longer open the CD drive. Effective until the computer is booted, or the CD drive is unlocked.
2. Unlock the CD drive. This makes the load/eject button work as it is meant to, allowing the CD drive to be opened and closed.
3. Permanently lock the CD drive. This locks the CD drive every time the computer is booted, in the same way as command 1. (RISC OS 3.5+ only)
4. Reverse a permanent locking. This reverses command 3, allowing access to the CD drive every time the computer is booted - as normal. (RISC OS 3.5+ only)
5. Disable the *Lock and *Unlock commands. This stops the use of the two commands that allow the user to lock and unlock the CD drive from the command line, to provide extra security.
6. Enable the *Lock and *Unlock commands. This enables the two commands disabled with command 5 - changing them back to normal.
7. Permanently disable the commands. This disables the commands every time the computer is booted, in the same way as command 5. (RISC OS 3.5+ only)
8. Reverse a permant disabling of commands. This reverses command 7, allowing the commands to be used every time the computer is booted - as normal. (RISC OS 3.5+ only)
9. Quit without changing settings. This quits the program without changing any settings previously selected.
Limitations: It is possible to use the *Lock and *Unlock commands after they have been disabled with a little knowledge of the command line - this is how !CD Locker locks and unlocks the CD drive when the commands have been disabled. It is also possible to open the CD drive during early stages of booting the computer, even if permanent locking has been selected.
William Bolam / WAME
7 Albert Road,
Teddington,
Middx.
TW11 OBD.
This entire program is PD, so if you want to, you can.
Disclaimer: I have no responsibility in any way whatsoever for anything at all that this program does.