diff --git a/core/ast/src/main/java/org/overture/ast/preview/GraphViz.java b/core/ast/src/main/java/org/overture/ast/preview/GraphViz.java
index <HASH>..<HASH> 100644
--- a/core/ast/src/main/java/org/overture/ast/preview/GraphViz.java
+++ b/core/ast/src/main/java/org/overture/ast/preview/GraphViz.java
@@ -46,7 +46,7 @@ public class GraphViz
 	{
 		if (isWindowsPlatform())
 		{
-			dotPath = "c:/Program Files/Graphviz 2.28/bin/dot.exe";
+			dotPath = "\"c:/Program Files/Graphviz 2.28/bin/dot.exe\"".replace('/', '\\');
 		} else
 		{
 			dotPath = "/usr/bin/dot";
static dot path replaced / with File seperator