Command Line Options

Home, Up: Appendix

 

When you start Hypatia from the Windows command line or the Windows PowerShell, you can use the following options.

(To run Hypatia from the command line, you have to add the path to its program folder to the Windows system path.)

(Most Windows programs use slashes before their command line options, Hypatia uses Unix-style hyphens.)

The options are case insensitive.

 

-c means that the location of Hypatia's files in in the current folder, instead of Hypatia's program folder.

-d means angle unit is degrees (default: radians), same as the USE DEG command.

-e means echo mode is ON (default: OFF), same as the ECHO ON command.

-i means do not execute the start file hy.ini.

-l means logging to file hy.log is ON (default: OFF), the same as the LOG ON command.

-r filename means run the script file filename.

 

The command line options -d, -e and -l have the same effect as the respective commands would have in the hy.ini file.

The file specified with the -r option is executed after hy.ini is run. If you want to use that file instead of hy.ini, you have to use both -i and -r.

The script file called by -r can end with a QUIT command (or Q, or EXIT).

If Hypatia is started with the -i option, then a hy.ini file is not created if it does not exist.

The -c option applies to all files that Hypatia reads or writes, including hy.ini, hy, hyin, and hy.log.

 

The command RESET resets Hypatia to the state when it was started with the current command line options, but does not execute the -r option.

 

Home, Up: Appendix, Prev: Control Symbols and Comments, Next: Command Line Mode