Fix spaces and Windows 7

The command file now accepts spaces.
It also detects if it is running on Windows 7 with the Windows 8.1 deployment kit installed so that makers won't have to modify the script