mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 05:43:30 +00:00
527f2f9057
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
35 lines
593 B
C
35 lines
593 B
C
/*
|
|
* title.c - title internal command.
|
|
*
|
|
*
|
|
* History:
|
|
* 1999-02-11 Emanuele Aliberti
|
|
*
|
|
* 30-Apr-2005 (Magnus Olsen <magnus@greatlord.com>)
|
|
* Remove all hardcoded strings in En.rc
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
|
|
#ifdef INCLUDE_CMD_TITLE
|
|
|
|
|
|
INT cmd_title (LPTSTR param)
|
|
{
|
|
/* Do nothing if no args */
|
|
if (*param == _T('\0'))
|
|
return 0;
|
|
|
|
/* Asking help? */
|
|
if (!_tcsncmp(param, _T("/?"), 2))
|
|
{
|
|
ConOutResPaging(TRUE,STRING_TITLE_HELP);
|
|
return 0;
|
|
}
|
|
|
|
return SetConsoleTitle (param);
|
|
}
|
|
|
|
#endif /* def INCLUDE_CMD_TITLE */
|
|
|
|
/* EOF */
|