Is it possible to run HDGraph from the command line (e.g., hdgraph.exe c:\myfolder -output myfolder.jpg)?
This will permit people who use automation to periodically run hdgraph with a schedule.
To use HDGraph from command line, please the the help file released with the "Setup" version of HDGraph. Here is an extract :
HDGraph can be used in scripts thanks to its command line options. It can build a PNG file or an HDG file (HDGraph vectorial format). This works exactly like the items "Save as" and "Export as image file" of the File menu. For the moment, PNG is the only image format supported.
hdgraph.exe "directoryToScan" /imgOutput:"imageFilePath" /graphOutput:"graphFilePath"
hdgraph.exe "C:\Documents and Settings" /imgOutput:"C:\Documents and Settings\Jean-Yves\fileScan.png" /graphOutput:"C:\Documents and Settings\Jean-Yves\fileScan.hdg"
*** WARNING ***
Please note: directoryToScan should not end with a single "\" char. (otherwise the double quote will be escaped : the "directoryToScan" arg and the next arg will be considered as one single arg).
Log in to post a comment.