On my win32 system I had this command in Vim to open a vim file in wordpad:
silent ! start c:\Program Files (x86)\Windows NT\Accessories\wordpad.exe "%:p"<CR>
On my win64 system this doesn’t work. I get this error:
error: Windows cannot find `"c:\Program"`
Maybe because of the space(s) inside "Program Files (x86)" and "Windows NT"?
How can i resolve this problem?
Put quotes around your path.
Like so:
silent ! start "c:\Program Files (x86)\Windows NT\Accessories\wordpad.exe" "%:p"<CR>