public String[] getPathBinWindows() {
		String[] pathArray;
		String binPath = System.getenv("PATH");
		int countCommata = 0;
		int i = 0;
		while(i<binPath.length()) {
			if((binPath.charAt(i))== ';')
				countCommata++;
			i++;
		}
		i=0;
		pathArray = new String[countCommata+2];
		
		//set default values to ""
		for(int j=0; j< countCommata+2;j++)
			pathArray[j]="";
		int array = countCommata+2;
		countCommata = 0;
		
		while(i<binPath.length()) {
			if((binPath.charAt(i))== ';')
				countCommata++;
			else
				pathArray[countCommata] += binPath.substring(i, i+1);
			i++;
		}
		//Programs are often not in PATH
		
		pathArray[array-1] = System.getenv("ProgramFiles");
		
		return pathArray;
	}