Index: ServerUtils.java
===================================================================
--- ServerUtils.java	(revision 115025)
+++ ServerUtils.java	(working copy)
@@ -61,7 +61,7 @@
             System.out.println("Imported Code Coverage Details.");
             String temp;
             if (System.getProperty("os.name").toLowerCase().contains("windows")) {
-                tempProcess = Runtime.getRuntime().exec(new String[]{"bat", "bin/wso2server.bat"},
+                tempProcess = Runtime.getRuntime().exec(new String[]{"cmd.exe", "/c", "bin\\wso2server.bat"},
                         null, new File(carbonHome));
             } else {
                 tempProcess = Runtime.getRuntime().exec(new String[]{"sh", "bin/wso2server.sh", "test"},
@@ -125,9 +125,11 @@
         if (indexOfZip == -1) {
             throw new IllegalArgumentException(carbonServerZipFile + " is not a zip file");
         }
-        String fileSeparator = (File.separator.equals("\\")) ? "\\" : "/";
+		if (System.getProperty("os.name").toLowerCase().contains("windows")) {
+        	carbonServerZipFile = carbonServerZipFile.replace("/","\\");
+        } 
         String extractedCarbonDir =
-                carbonServerZipFile.substring(carbonServerZipFile.lastIndexOf(fileSeparator) + 1,
+                carbonServerZipFile.substring(carbonServerZipFile.lastIndexOf(File.separator) + 1,
                         indexOfZip);
         FileManipulator.deleteDir(extractedCarbonDir);
         new ArchiveManipulator().extract(carbonServerZipFile, "carbontmp");
Index: SimpleAxis2ServerManager.java
===================================================================
--- SimpleAxis2ServerManager.java	(revision 115025)
+++ SimpleAxis2ServerManager.java	(working copy)
@@ -57,7 +57,7 @@
 
             String temp;
             if (System.getProperty("os.name").toLowerCase().contains("windows")) {
-                tempProcess = Runtime.getRuntime().exec(new String[]{"bat", "samples/axis2Server/axis2server.bat"},
+                tempProcess = Runtime.getRuntime().exec(new String[]{"cmd.exe", "/c", "samples\\axis2Server\\axis2server.bat"},
                         null, new File(carbonHome));
             } else {
                 tempProcess = Runtime.getRuntime().exec(new String[]{"sh", "samples/axis2Server/axis2server.sh", "test"},
