Page History: Command Prompt

Compare Page Revisions

« Older Revision - Back to Page History - Newer Revision »

Page Revision: 2016/08/27 19:09

It is possible to perform operations from Windows Command Prompt (cmd.exe)


You can see the list of supported commands using:

SMathStudio_Desktop.exe -silent -?

CMD help


this flag enables the shell commands.

-? or -help

Prompt the help.

SMathStudio_Desktop.exe -silent -?

-e or -export

Export worksheet(s) to supported formats.

SMathStudio_Desktop.exe -silent -e .html
SMathStudio_Desktop.exe -silent -e .smz "worksheet" "worksheet"

-i or -info

Provide a flag to display current SMath Studio installation details.

SMathStudio_Desktop.exe -silent -i

-o or -options

Specific context options. Usually used on export. This flag may be used in some specific file-export plug-in to enable options from command prompt.

SMathStudio_Desktop.exe -silent -e .html -o images=embedded

-p or -print

Initiate printing of the worksheet(s) using specified printer. Set "default" to use system default printer.

SMathStudio_Desktop.exe -silent -p default
SMathStudio_Desktop.exe -silent -p default "worksheet" "worksheet"
SMathStudio_Desktop.exe -silent -p "Microsoft XPS Document Writer"

-t or -test

Perform testing of the worksheet. Testing allows to verify that all calculations in the worksheet are returning the same results as last save and no new errors appear.

SMathStudio_Desktop.exe -silent -t
SMathStudio_Desktop.exe -silent -t "worksheet" "worksheet"


Provide maximum time in milliseconds (ms) to wait for calculation of a single worksheet. Calculation will be aborted if this time limit exceeded. 1 hour is set by default.

SMathStudio_Desktop.exe -silent -t -w 60000
SMathStudio_Desktop.exe -silent -t "worksheet" "worksheet" -w 60000


  • SMath 0.96.4902 (Nightly build): Added ability to export files to supported formats using command prompt;
  • SMath 0.98.5914 (Nightly build): Ability to print worksheet using command prompt implemented, Command prompt interface extended to allow worksheet testing;
  • SMath 0.98.5918 (Nightly build): Implemented ability to specify printer name when printing from command prompt;

See also


  • how to access help command: Forum

ScrewTurn Wiki version 2.0.37. Some of the icons created by FamFamFam.