cmd: Make 'dir' hide hidden or system files by default.
This commit is contained in:
parent
81e5c76a5f
commit
25efe69d60
|
@ -680,7 +680,7 @@ void WCMD_directory (WCHAR *cmd) {
|
|||
orderGroupDirs = FALSE;
|
||||
orderGroupDirsReverse = FALSE;
|
||||
showattrs = 0;
|
||||
attrsbits = 0;
|
||||
attrsbits = FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM;
|
||||
|
||||
/* Handle args - Loop through so right most is the effective one */
|
||||
/* Note: /- appears to be a negate rather than an off, eg. dir
|
||||
|
|
Loading…
Reference in New Issue