Hi,
I don't understand why this func is working when I start Gvim and have
an opened file and not just after starting Gvim without opening a
file?
func! RestoreMyVimfiles()
" maj chemin destination perso vers cle usb
let cheminSource = FindMyUsbKeyDrive() . '\Perso_Nico\utilitairesGNU
\Vim and utilities\HOMEPATH'
" sauvegarde
exec '!copy /Y "' . cheminSource . '\_vimrc" "%HOMEPATH\%"'
"exec '!xcopy /S /Y "\%HOMEPATH\%"\vimfiles "' . cheminDestination .
'\vimfiles' .'"'
endfunc
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---