2 * title.c - title internal command.
6 * 1999-02-11 Emanuele Aliberti
8 * 30-Apr-2005 (Magnus Olsen <magnus@greatlord.com>)
9 * Remove all hardcoded strings in En.rc
14 #ifdef INCLUDE_CMD_TITLE
16 extern BOOL bTitleSet
;
18 INT
cmd_title(LPTSTR param
)
20 /* Do nothing if no args */
21 if (*param
== _T('\0'))
25 if (!_tcsncmp(param
, _T("/?"), 2))
27 ConOutResPaging(TRUE
, STRING_TITLE_HELP
);
31 /* Set the new console title, and tell CMD to not reset it */
33 return ConSetTitle(param
);
36 #endif /* INCLUDE_CMD_TITLE */