Re: Spaces in path name



David S wrote:

Using "C:\Program Files\apache-ant-1.7.0\bin\ant.bat" just gives me the same result.

Did you try the raw string, with the .bat extension? As in:

r'C:\Program Files\apache-ant-1.7.0\bin\ant.bat'


After Microsoft started allowing blanks in paths, it took them years to
fix many common cases where their own software choked on the paths. I
got into the habit of installing everything under c:\bin rather than
C:\Program Files. I still do that just to avoid writing essays into
my PATH variable.


--
--Bryan
.



Relevant Pages

  • Re: Are there good reasons to upgrade to IIS 6.0?
    ... is that Microsoft Data Access Components locking issues are fixed. ... How common are MDAC problems? ... fix them, unless, somehow, the fix wasn't possible with the architecture of ...
    (microsoft.public.inetserver.iis)
  • Re: Still having svchost.exe CPU problems
    ... It seems this is becoming more and more of a common issue. ... Microsoft would at least acknowledge the problem and let us know if a ... fix is in the works. ...
    (microsoft.public.windowsupdate)
  • Re: [Full-disclosure] Office 0day
    ... more and continue consulting for microsoft rather than criminal networks. ... to fix the product if it is flawed. ... That is like me trying to argue that after going to a car mechanic, ... "Members of the jury, by keeping quiet about the bug and not shipping a patch, ...
    (Full-Disclosure)
  • Re: spooler not starting
    ... If it still fails to run then maybe the hotfix is ... in that case you will have to call Microsoft for the fix. ... Lexmark tech support to download and install the fix. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Microsoft, please, a solution for the STB!!!!!!!
    ... Your statements of impact will be where I push for a fix but I ... and have had no response from Microsoft or from anyone that might be ... MCE 2005 really is an excellent product so far and i would love to ... learn/repeat these codes? ...
    (microsoft.public.windows.mediacenter)