i change the path autocmd FileType python setlocal makeprg=\"d:\\Python24\\python.exe\"\ autocmd BufNewFile,BufRead test*.py setlocal makeprg=\"d:\\Python24\\python.exe\"\ %