> This allows me to issue the command from Vim > 'rake singleobj srcfile=source/dir/file.cpp' I meant 'rake singleobj srcfile=expand("%")' as expand evaluates to the name of teh current file in Vim. ~S