Fixed batch mode bugs.

svn path=/trunk/; revision=739
This commit is contained in:
Eric Kohl 1999-10-28 23:09:59 +00:00
parent 11d7e1e18c
commit 95fcdd0943
2 changed files with 12 additions and 12 deletions

View file

@ -391,7 +391,7 @@ INT CommandDelete (LPTSTR cmd, LPTSTR param)
else else
ConOutPrintf (_T(" %lu file%s deleted\n"), ConOutPrintf (_T(" %lu file%s deleted\n"),
dwFiles, dwFiles,
(dwFiles == 1) ? "s" : ""); (dwFiles == 1) ? "" : "s");
} }
return 0; return 0;

View file

@ -30,7 +30,7 @@
#define INVALID_SWITCH _T("Invalid switch - /%c\n") #define INVALID_SWITCH _T("Invalid switch - /%c\n")
#define TOO_MANY_PARAMETERS _T("Too many parameters - %s\n") #define TOO_MANY_PARAMETERS _T("Too many parameters - %s\n")
#define PATH_NOT_FOUND _T("Path not found\n") #define PATH_NOT_FOUND _T("Path not found\n")
#define FILE_NOT_FOUND _T("File not found") #define FILE_NOT_FOUND _T("File not found\n")
#define REQ_PARAM_MISSING _T("Required parameter missing\n") #define REQ_PARAM_MISSING _T("Required parameter missing\n")
#define INVALID_DRIVE _T("Invalid drive specification\n") #define INVALID_DRIVE _T("Invalid drive specification\n")
#define INVALID_PARAM_FORMAT _T("Invalid parameter format - %s\n") #define INVALID_PARAM_FORMAT _T("Invalid parameter format - %s\n")