Extended batch file to handle python not in path

TODO: This should be replaced with a real script due to the limitations
of the Windows batch files.