27#define ESCAPE_CHAR _T("\\")
28#define CURRENT_PATH_ALIAS_CHAR _T("w")
29#define CURRENT_PATH_ALIAS ESCAPE_CHAR CURRENT_PATH_ALIAS_CHAR
30#define DEFAULT_PROMPT CURRENT_PATH_ALIAS _T("\n# ")
72 const TCHAR *pszCurrentPath;
79 rConsole.
Write(pszCurrentPath?pszCurrentPath:
_T(
"NULL (Internal Error)"));
#define CURRENT_PATH_ALIAS
BOOL Write(const TCHAR *p, DWORD dwChars=0)
void ShowPrompt(CConsole &rConsole)
static LPCTSTR GetDefaultPrompt()
HRESULT SetPrompt(LPCTSTR pszPrompt)
CPrompt(CRegistryTree &rTree, HRESULT &rhr)
const TCHAR * GetCurrentPath() const