Bug with shell command !{cmd} using cmd.exe
Chainsaw <[email protected]> Thu, 18 Dec 2025 00:25:20 -0500
| Newsgroups | gmane.editors.vim |
|---|---|
| Message-ID | <[email protected]> |
Hello, I just switched from Windows 10 to Windows 11, and found a strange bug with Vim in Windows 11. Steps to reproduce: 1) execute command :!start c:\windows\system32\cmd.exe (or :!c:\windows\system32\cmd.exe) 2) in the opened cmd.exe window, cd to a directory that contains a .cmd or .bat file, example cd c:\batch\test 3) run a .cmd or .bat file, say test.cmd, you will get 'test.cmd' is not recognized as an internal or external command, operable program or batch file 4) then in same window, run c:\batch\test\test.cmd and it will work ok This only happens with a cmd.exe window opened from Vim using !. Thanks -- -- 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 because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_use/2a2f1c7f741191f52d2c55a2c573fede%40fourbarlinkage.net.