cmd: Make 'dir' hide hidden or system files by default.

This commit is contained in:
Dan Kegel 2009-09-24 10:52:57 -07:00 committed by Alexandre Julliard
parent 81e5c76a5f
commit 25efe69d60
1 changed files with 1 additions and 1 deletions

View File

@ -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