Check cmd is executable on Windows
Merge pull request #169 from sescandell/fix-winCmdAccess

Check cmd is executable on Windows