First check to make sure that you can call the programs specified by
the
viewing
rules from within vim. For example, if you specified
the PDF viewing program as
AcroRd32, then you should be able to do
!start AcroRd32
from within vim and get Acrobat reader to launch. On windows, this means
setting the
PATH variable to include the location in which
AcroRd32.exe resides. See the system documentation how to do this.
On Windows 2000/XP, the settings can be changed from
Control Panel > System > Advanced > Environment Variables
Some versions of gvim on windows have problems calling external programs
which reside in directories containing spaces in their names even if the
%PATH% variable contains the correct directories. In this case,
you need to change the
g:Tex_ViewRule_format variable to use the
full path to the viewer. For example:
let g:Tex_ViewRule_pdf = 'c:/Program\ Files/Adobe/Acrobat 5.0/Reader/AcroRd32'