I use the YUI compressor to compress the js file, but when transferring the full path in Windows7 it gives an error
java -jar c:\yui\yuicompressor-2.4.8.jar c:\js\CCOM.js -o c:\js\CCOMA.js
gives an error as follows
java.io.FileNotFoundException: yuiCCOMA.js:\yui\CCOM.js (The filena
me, directory name, or volume label syntax is incorrect)
The jar and source file exist, and it works fine when I run it directly from the source directory
source
share