MicroStrategy ONE

Loading a script

Use the following commands in console mode to load and execute script files or recently executed scripts.

Copy
LOADFILEfilename

Switches to edit mode and loads the specified file into Command Manager. If the file name contains spaces, it must be enclosed in double quotes (").

If the script is encrypted, you must provide the password to open it.

Copy
LOADLAST

Switches to edit mode and loads the most recently executed script file into Command Manager.

If the script is encrypted, you must provide the password to open it.

Copy
HISTORY

Lists the recently used Command Manager commands or scripts, starting with the most recent. The number of commands or scripts that this statement loads is set by the maxhist environment setting. For information on viewing or changing this setting, see Environment settings.

Copy
EXECFILEfilename

Loads the specified file into Command Manager and executes it. This is the equivalent of LOADFILE followed by EXECUTE (an Edit mode instruction). If the file name contains spaces, it must be enclosed in double quotes (").

Copy
EXECLAST

Loads the most recently executed script into Command Manager and executes it. This is the equivalent of LOADLAST followed by EXECUTE (an Edit mode instruction).

Copy
QUIT or EXIT

Exits the command-line interface.

Related Topics

Using the text-based Command Manager interface

Environment settings

Connection instructions

Editing, saving, and executing a script