Commit 25efe69d authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

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

parent 81e5c76a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment