Skip to Content

OSCLI

This command allows a string expression to be passed to the operating system. It overcomes the problems caused by the exclusion of variables in the star (*) commands. Using this statement, you can, for instance, erase and rename files whose names you only know at run-time.

command$="DELETE PHONE.DTA" OSCLI command$
command$="RENAME ADDRESS.DTA NAME.DTA" OSCLI command$

See the Operating System Interface section for more details. If the command is not recognised by the Z88’s operating system, a ‘Bad command’ error will be reported.

Syntax

OSCLI <str>

Associated Keywords

All operating system (*) commands.

Last updated on