From 7685449fe37099e316cbee089c1efbbf672d4119 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Wed, 23 Apr 2003 12:09:30 +0000 Subject: [PATCH] Dont show volume label on standard dir Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@958 --- src/shell/shell_cmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index f53e56f7..4095302c 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -242,7 +242,7 @@ void DOS_Shell::CMD_DIR(char * args) { WriteOut(MSG_Get("SHELL_CMD_DIR_INTRO"),path); DOS_DTA dta(dos.dta); - bool ret=DOS_FindFirst(args,0xffff); + bool ret=DOS_FindFirst(args,0xffff & ~DOS_ATTR_VOLUME); if (!ret) { WriteOut(MSG_Get("SHELL_CMD_FILE_NOT_FOUND"),args); return;