I think there should probably be double quotes around %JAVACMD% in the set EXEC line, in case the contents of JAVACMD include any spaces. Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120718/00a3225f/attachment.html>