CALL USBCD
Contents |
Effect
Changes the active folder inside the virtual USB device or the storage device connected to the USB port of the Rookie Drive.
Syntaxes
- CALL USBCD ("<Directory>")
Only with storage devices:
- CALL USBCD ("<Directory>/<Directory>") - Changes to the specified directory, relative to the current one.
- CALL USBCD("/<Directory>/<Directory>") - Changes to the specified absolute directory. Note that the difference is an extra slash at the beginning of the specified directory chain.
Parameter
<Directory> is the name of the directory on the USB device. When omitted with a storage device, the name of the current active directory will be displayed.
Notes for storage devices:
- Changing the current directory will unmount the currently mounted file, this is due to a limitation on how the underlying USB controller hardware works.
- An alternative way to change the current directory (without mounting any file) is to go to the boot menu, enter the desired directory, and then pressing SHIFT + ESC (ESC alone will restore the previous directory and mounted file).
Examples
CALL USBCD ("GAMES") 'Changes to the GAMES directory
CALL USBCD ("..") 'Changes to the previous directory