I figured it out. I put the SCP command in my _vimrc into quotes, like
this;

"let g:netrw_scp_cmd = "\"C:\\Program Files\\PuTTY\\pscp.exe\""

If anyone experiences this issue, here is the answer!


Schmidty

On Mar 4, 12:04 pm, Schmidty <[email protected]> wrote:
> Hi,
>
> I am using the GVIM 7 on Vista and am having problems with theSCP
> feature. It keeps giving me an error repsonse. I had it working fine
> for a long time and then one day - BOOM, it stopped working properly!
> I can't edit remote files now through SSH and have to resort to going
> back to VIM on the server.
>
> GVIM GUI Output:
> C:\Windows\system32\cmd.exe /c "C:\P
> t\AppData\Local\Temp\VIAFB18.tmp"
> 'C:\Program' is not recognized as an
> operable program or batch file.
> shell returned 1
> Hit any key to close this window...
>
> VIM DOS Command-line output:
> :!"C:\Program Files\PuTTY\pscp.exe" -pw  "matt@
> p\VIA6F5D.tmp"
> 'C:\Program' is not recognized as an internal o
> operable program or batch file.
> "~\AppData\Local\Temp\VIA6F5D.tmp" [New File]
> Press ENTER or type command to continue
>
> My _vimrc file:
> ==================================================
> " This line is a comment .... one which begins with double-quotes
> " The best is the bold font, try all of these and pick one....
> set guifont=8x13bold
> "set guifont=9x15bold
> "set guifont=7x14bold
> "set guifont=7x13bold
> "
> " Highly recommended to set tab keys to 4 spaces
> set tabstop=4
> set shiftwidth=4
> "
> set wrapscan
> "
> " The opposite is set noignorecase
> set ignorecase
> set autoindent
> "
> " You may want to turn off the beep sounds (if you want quite) with
> visual bell
> " set vb
> " Source in your custom filetypes as given below -
> " so $HOME/vim/myfiletypes.vim
>
> colorscheme murphy
> set number
> set autoindent
> set bs=2
>
> ==============================
>
> Thanks for any help anyone might provide on this!
>
> Schmidty
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to