From 3fb18e7399156195bf1e91845ca1da801632967e Mon Sep 17 00:00:00 2001 From: Phil Runninger Date: Thu, 12 Nov 2015 21:38:22 -0500 Subject: [PATCH] Switch to upper case DIR /Q, in true DOS fashion --- nerdtree_plugin/fs_menu.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerdtree_plugin/fs_menu.vim b/nerdtree_plugin/fs_menu.vim index 2a6ddd6..043e337 100644 --- a/nerdtree_plugin/fs_menu.vim +++ b/nerdtree_plugin/fs_menu.vim @@ -217,7 +217,7 @@ endfunction function! NERDTreeListNodeWin32() let treenode = g:NERDTreeFileNode.GetSelected() if treenode != {} - let metadata = split(system('dir /q ' . shellescape(treenode.path.str()) . ' | FINDSTR "^[012][0-9]/[0-3][0-9]/[12][0-9][0-9][0-9]"'), '\n') + let metadata = split(system('DIR /Q ' . shellescape(treenode.path.str()) . ' | FINDSTR "^[012][0-9]/[0-3][0-9]/[12][0-9][0-9][0-9]"'), '\n') call s:echo(metadata[0]) else call s:echo("No information avaialable")