This is an old revision of the document!
Command Line
In addition to well known passing of the file names as parameter in command line there are some others that can be interesting:
| Short | Long | Needs parameter | Description |
|---|---|---|---|
| -m | --new-instance | start another instance | |
| --config | yes | set configuration directory | |
| --init | initialize all cached properties. | ||
| --portable | run application in portable mode (no *.tmp files) | ||
| --debug | enables debug mode. Has nothing to do with real debugging, just enables some traces | ||
| -d | --directory | yes | set current directory |
| --title | yes | append 'title' to the main window title bar | |
| -u | --no-recent | do not add the file to the Recent Files list | |
| -w | --workspace | yes | name of saved workspace, if empty, no would be loaded |
| --project | yes | name of saved project, if empty, project will be created | |
| -h | --help | produce help message | |
| --close_all | close all documents | ||
| -s | --save_all | saves all modified documents | |
| -i | --input-file | yes | input files |
| -v | --recursive | process also sub-folders for mask file open | |
| -x | --exclude | yes | exclude mask for mask open |
| -l | --line | yes | line number |
| -c | --column | yes | column number |
| -r | --read-only | read-only mode | |
| -t | --type | yes | syntax to apply to passed files |
| -e | --encoding | yes | sets an encoding for file |
| -n | --new | creates new file | |
| -o | --open | calls File Open dialog | |
| --paste | paste clipboard content | ||
| --find | yes | search current document | |
| --landscape | yes | set landscape/portrait orientation for printing. the argument should be used together with --print (-p) or --print_to | |
| --print_to | yes | call Print to dialog, where argument equal to name of printer where you want to print | |
| -p | direct print | ||
| --minimized | start minimized(iconized) |
All parameters can be combined and used together.
If you use parameters containing spaces (as path names), they should be surrounded by double quotes:
HippoEdit.exe “D:\My Projects\test.txt” -l 10 -c 10
Example:
HippoEdit.exe –workspace=viewer D:\Projects\binU\HippoEdit.config -l 10 -c 10
You can always get available list of command line parameters by calling hippoedit.exe with parameter --help.