Hello,

I have a request of a windows person out there (I currently don't have access to a windows box).

The latest netrw asks users to consider setting up local commands for copy/mkdir/rmdir, but I've been told that there really aren't any such commands available under Windows; instead, they're available only under a shell such as cmd.exe.

So, how best to make this work?  I was thinking

 if has("win32") || has("win95") || has("win64") || has("win16")
  if executable("cmd")
   let g:netrw_localmovecmd= "cmd move"
  endif
endif

but I'd like someone to let me know if this works first.

The g:netrw_localmovecmd is used in a line such as

let ret= system(g:netrw_localmovecmd." ".shellescape(fname)." ".shellescape(s:netrwmftgt))

I'd try this out on my home computer (which has Windows Vista) but I haven't had any luck compiling a windows-style vim there lately (so its a cygwin-based version).

Regards,
Chip Campbell

--
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

Raspunde prin e-mail lui