Dear All
I'm trying to create a simple batch file that I can run to automatically minify a number of CSS and js files. When I paste this command at the Command Prompt, it works correctly:
"C:\Program Files (x86)\Microsoft\Microsoft Ajax Minifier\ajaxmin.exe" "C:\css\common-min.css" –o "C:\css\new-common-min.css" –clobber
Please can anyone explain to me why this doesn't work when you put this command into a text file, save it as a .bat and double-click on it? The error message is as below:
Microsoft Ajax Minifier (version 5.14.5506.26196)
JavaScript and CSS minification and verification command-line utility
Copyright 2013 Microsoft Corporation
See the '-?' command-line option for usage details.
AjaxMinifier.exe: error AM-USAGE: Source file does not exist: ûo
It's exactly the same command and it's driving me nuts! Please help.
Many thanks
Dan
I'm trying to create a simple batch file that I can run to automatically minify a number of CSS and js files. When I paste this command at the Command Prompt, it works correctly:
"C:\Program Files (x86)\Microsoft\Microsoft Ajax Minifier\ajaxmin.exe" "C:\css\common-min.css" –o "C:\css\new-common-min.css" –clobber
Please can anyone explain to me why this doesn't work when you put this command into a text file, save it as a .bat and double-click on it? The error message is as below:
Microsoft Ajax Minifier (version 5.14.5506.26196)
JavaScript and CSS minification and verification command-line utility
Copyright 2013 Microsoft Corporation
See the '-?' command-line option for usage details.
AjaxMinifier.exe: error AM-USAGE: Source file does not exist: ûo
It's exactly the same command and it's driving me nuts! Please help.
Many thanks
Dan