At a guess, the unexpected "Files" is part of "C:\Program Files" and there's a batch file somewhere that needs quotes adding around some command? But don't bet any money on that as I've never even seen Windows 7, much less run Ant on it...
Andy On 2 Dec 2011 16:32, "Scott Stark" <sst...@us.ibm.com> wrote: > Hi, I've just installed Ant 1.8.2 on my new Windows 7 machine, and set > ANT_HOME to c:\apache-ant-1.8.2 > > When I run any Ant commands I get the message "Files was unexpected at > this time." Any idea what's wrong? I couldn't find anything useful on the > web about this error. > > thanks, > Scott > >