escape the path name.
Add Visual Studio support.
Remove the unused part.