diff --git a/programs/cmd/directory.c b/programs/cmd/directory.c index 647f4f158f3..08c72ae0be2 100644 --- a/programs/cmd/directory.c +++ b/programs/cmd/directory.c @@ -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