Windows-conditional Logic Added for Uploading

Thought this could be useful.