Muddassirali Mirzani wrote:
Thanks Tony..
But the command doesn't work.. vim pops up and
closes down but no files generated .
Oh, I think I know... the bar | is used by the shell as a redirection operator. Write the following as a script
-- batchtohtml.vim
set autochdir
argdo %TOhtml | only
q
Then invoke Vim as
vim project/**/*.txt -S batchtohtml.vim
Best regards,
Tony.
