I have an issue setting up an external tool in Visual Studio.
The tool is for JS Lint, which lints a javascript file.
My setup is as follows:
Title: &JSLint - http://www.jslint.com/
Command: C:\Users\XXXX\Documents\Visual Studio 2008\Tools\JsLint\jslint.cmd
Arguments: $(ItemPath)
Initial Directory: [blank]
When I run the tool, I get the following error in the output window:
Input Error: There is no file extension in "C:\Users\XXXX\Documents\Visual".
The issue I believe is with the space in the folder "Visual Studio 2008". If I change locations the a folder structure with no spaces in the name then all works fine. I would like to keep it in the "C:\Users\XXXX\Documents\Visual Studio 2008\Tools\JsLint\" folders though.
Can anyone help me out with this as to why it does not like the space in the folder names?
Looking at the .cmd windows command script in notepad, it contains the following - maybe I need to alter this to handle the space in the folder path - any ideas?