The command to change dot file into png file is as follows :
DIRECTORY_TO_DOT\dot -Tpng -O "DOT_FILE"
I have a batch file builddot.bat
del "%1.png"
"%~dp0dot" -Tpng -O "%1"
I installed graphviz, and put the builddot.bat in the same directory where dot.exe is located.
And for the dot file, I setup so that builddot.bat is launched with .dot file.
However, when I click the dot file nothing happens. When I run batch file in command line, it works well.
What's wrong with this? I use Windows 7.
