Thanks for the help Charles.

I actually ended up just hacking the autoload/netrw.vim file and
surrounding each function call with:

set noshellslash
*function call*
set shellslash

While its not pretty, it works like a charm. Also, I got rid of the
"executable()" condition when attempting to call the MS-DOS commands.

Thanks for your suggestion though. I may try this upgrade down the line.

-Bart


On Thu, Apr 5, 2012 at 10:00 AM, Charles Campbell
<charles.e.campb...@nasa.gov> wrote:
> Bart Baker wrote:
>>
>> Hello,
>>
>> I'm using gVim 7.3 with netrw v142 on Windows XP SP3. I am not able to
>> copy or move files within netrw.
>>
>> After marking a target (mt) and file (mf) and attempting to move (mm),
>> I receive the following message:
>>
>> **error** (netrw) command<move>  is not executable!
>>
>> Using the same procedure but instead attempting to copy (mc), the
>> procedure fails, but I do not receive a message.
>>
>> Dropping into the source code, it looks like netrw is attempting to
>> use the MS-DOS commands "move" and "copy" to move the files. The whole
>> reason that I switched from NERDTree back to netrw was because I
>> thought copy functionality worked.
>>
>> When I echo the vimscript command 'executable("move")' or
>> 'executable("copy")' within gVim or Vim, both of these return '0'.
>>
>> Vim does not recognize these as valid command line commands, even
>> though they can be used in the windows command prompt. I also made a
>> related discovery that these old MS-DOS commands do not show up in my
>> path.
>>
>
> Hello!
>
> v145a of netrw (available from my website as
>  http://www.drchip.org/astronaut/vim/index.html#NETRW) has the following
> variables:
>
>  g:netrw_localmovecmd
>  g:netrw_localcopycmd
>  g:netrw_localrmdir
>  g:netrw_localmkdir
>
> (v144 and earlier style names were in the format  g:netwr_local_movecmd,
> etc)
>
> You might want to consider setting these with whatever works for you.
>
> Regards,
> Chip Campbell
>
> --
> You received this message from the "vim_use" 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 from the "vim_use" 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

Reply via email to