windows path issue 

Probably a better way to handle the path issue on windows machines. This one also handles spaces along the path.