Page History: Command Prompt

Compare Page Revisions



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


Page Revision: 2016/03/14 09:35


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



Commands

You can see the list of supported commands using:

SMathStudio_Desktop.exe -silent -?

CMD help

-silent

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 worksheet.sm
SMathStudio_Desktop.exe -silent -e .smz worksheet.sm "worksheet 2.sm" "worksheet 3.sm"

-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.

-p or -print

Initiate printing of the worksheet(s) using specified printer. Set "default" to use system default printer (no other printers available as for now - SS 0.98.5914).

SMathStudio_Desktop.exe -silent -p default worksheet.sm
SMathStudio_Desktop.exe -silent -p default worksheet.sm "worksheet 2.sm" "worksheet 3.sm"

-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 worksheet.sm
SMathStudio_Desktop.exe -silent -t worksheet.sm "worksheet 2.sm" "worksheet 3.sm"


History

  • SMath 0.98.5914 (Nightly build): Ability to print worksheet using command prompt implemented, Command prompt interface extended to allow worksheet testing;
  • SMath 0.96.4902 (Nightly build): Added ability to export files to supported formats using command prompt;


See also



References

  • how to access help command: Forum





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