Quantcast
Channel: ajaxmin Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 683

Closed Unassigned: Will Not Run from a Batch File [21901]

$
0
0
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

Viewing all articles
Browse latest Browse all 683

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>