cmd.exe starts in %userprofile% when I start it normally. When I start it from vim, it starts in %systemroot%\system32.
How can I change this so it starts in a folder of my choice (from vim)?
|
cmd.exe starts in How can I change this so it starts in a folder of my choice (from vim)? |
||||
It looks like cmd.exe isn't using %systemroot%\system32 as it's starting path when running from vim. %systemroot%\system32 is just where cmd.exe is located. The working directory is still the same as when starting cmd normally. |
|||||
|
:shellcommand within vim version 7.2, which quite happily spawns the command interpreter in whatever directory vim is itself in at the time. – JdeBP Jul 1 '11 at 15:26