That looks like a bug in FreeDOS, not in vim.bat.
The quotes are needed in case the environment variables contain spaces.
I haven't verified, but I think taking out the quotes breaks it for when
Vim is installed below a directory that conains a space.
I think the problem is with the freedos batch program.
--
Women are probably the main cause of free software starvation.
/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Does freedos support Long File Names? If it doesn't, then no paths can
contain spaces and the quotes are not necessary (nor can the command
interpreter -- COMMAND.COM, maybe -- be expected to support them).
OTOH, if freedos _does_ support Long File Names, then its command
interpreter ought to accept quoted paths -- but maybe some startup
setting is needed for that?
Best regards,
Tony.
--
PISCES (Feb. 19 to Mar. 20)
Take the high road, look for the good things, carry the
American Express card and a weapon. The world is yours today, as
nobody else wants it. Your mortgage will be foreclosed. You will
probably get run over by a bus.