Hello Juan > The problem is that any ! command returns, for example !!dir returns (after a > couple seconds): > E485: Can't read file xxxxx.tmp > > If I do :!dir a console opens and says: > C:\WINNT\system32\CMD.EXE /c dir > shell returned -1 > Just some thoughts ...
1) In my _vimrc file, I have set shell+=\ /D The /D switch prevents cmd.exe (at least on Windows XP) to execute commands registered at HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun or HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun 2) If 1) doesn't help, you may want to produce the phenomena outside of vim. Open a cmd-window and type something like "path\to\vim\vimrun.exe" %windir%\system32\cmd.exe /c dir I think that is the exact wording of the command that vim issues. 3) Within vim, try if commands work that need no access to any drives, or that test the access to a drive, e.g. : !ver : !path : !set : !vol Best regards Mathias