OSCLI

This command allows a string expression to be passed to the command-line interpreter. 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.

filename$="SOMEFILE"
command$="DEL "+filename$
OSCLI command$
source$="OLDNAME"
dest$="NEWNAME"
command$="REN "+source$+"="+dest$
OSCLI command$

Syntax

OSCLI <str>