SourceForge has been redesigned. Learn more.
Close

#1 Command-line access

closed
jyl
5
2011-11-10
2011-10-28
Anonymous
No

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.

G

Discussion

  • jyl

    jyl - 2011-11-10

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

    Usage:
    hdgraph.exe "directoryToScan" /imgOutput:"imageFilePath" /graphOutput:"graphFilePath"

    Example:
    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).

     
  • jyl

    jyl - 2011-11-10
    • assigned_to: nobody --> jyl2002
    • status: open --> closed
     

Log in to post a comment.