Switch to upper case DIR /Q, in true DOS fashion
This commit is contained in:
parent
f1af61ddf7
commit
3fb18e7399
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user