Le jeudi 3 avril 2014 18:57:12 UTC+2, Enno a écrit :
> Le mardi 12 novembre 2013 20:22:59 UTC+1, [email protected] a écrit :
> 
> > Updates:
> 
> > 
> 
> >     Status: Accepted
> 
> > 
> 
> >     Owner: [email protected]
> 
> > 
> 
> > 
> 
> > 
> 
> > Comment #1 on issue 151 by [email protected]: file management  
> 
> > 
> 
> > (copy/move) is broken on windows (netrw)
> 
> > 
> 
> > http://code.google.com/p/vim/issues/detail?id=151
> 
> > 
> 
> > 
> 
> > 
> 
> > You need to find commands on your system that will copy and move files.   
> 
> > 
> 
> > cmd /c copy  -and- cmd /c move  worked under windows xp.  Just set  
> 
> > 
> 
> > g:netrw_localcopycmd and g:netrw_localmovecmd to whatever works for you.
> 
> > 
> 
> > 
> 
> > 
> 
> > -- 
> 
> > 
> 
> > You received this message because this project is configured to send all  
> 
> > 
> 
> > issue notifications to this address.
> 
> > 
> 
> > You may adjust your notification preferences at:
> 
> > 
> 
> > https://code.google.com/hosting/settings
> 
> 
> 
> I think more foolproof would be to use the COMSPEC environment variable. 
> Something like this:
> 
> 
> 
> s:cmd=$COMSPEC." /c "
> 
> 
> 
> let g:netrw_localcopycmd=s:cmd."copy"
> 
> let g:netrw_localmovecmd=s:cmd."move"
> 
> let g:netrw_localmkdir=s:cmd."mkdir"
> 
> let g:netrw_localmkdir=s:cmd."rmdir"

Strangely, now it says, when trying to copy,

**error** (netrw) g:netrw_localcopycmd<C:\Windows\system32\cmd.exe /c copy> not 
executable on your system, aborting

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui