On Windows, it may sometimes help to enclose that kind of path in
double quotes; but often an even safer method is to bypass the
"spaces" problem entirely by replacing the problematic parts of the
path/filename by their 8.3 equivalents (at least on FAT filesystems;
I'm less familiar with the details of NTFS filesystems). If these
paths have indeed 8.3 equivalents, it may be easier for you to use
something like
C:\PROGRA~2\MICROS~1\Windows\v7.0A\include\objidl.idl
etc. — after making sure what exactly these equivalents are: Vim may
help you determine them, see
:help expand()
:help fnamemodify()
:help filename-modifiers
Such 8.3 names (PROGRA~2 and MICROS~1 in the example above) never
contain spaces.
Best regards,
Tony.