Fixing Windows Program Detection

command is currently not ported for windows, which however is.
To remain intact with the current code already in place, it will detect
if the server is running windows or not.