142#ifdef INCLUDE_CMD_CHDIR
157 if (InPath[0] && InPath[1] ==
_T(
':'))
161 if ((InPath[0] >=
_T(
'0')) && (InPath[0] <=
_T(
'9')))
163 t = (InPath[0] -
_T(
'0')) + 28;
165 else if ((InPath[0] >=
_T(
'a')) && (InPath[0] <=
_T(
'z')))
167 t = (InPath[0] -
_T(
'a')) + 1;
169 else if ((InPath[0] >=
_T(
'A')) && (InPath[0] <=
_T(
'Z')))
171 t = (InPath[0] -
_T(
'A')) + 1;
274 *(tmp + 1) =
_T(
'\0');
320#ifdef INCLUDE_CMD_MKDIR
337 if (
p[0] &&
p[1] ==
_T(
':'))
339 while (*
p ==
_T(
'\\'))
410#ifdef INCLUDE_CMD_RMDIR
423 pFileName = &szFullPath[
_tcslen(szFullPath)];
428 if (*szFullPath && *(pFileName - 1) !=
_T(
':') && *(pFileName - 1) !=
_T(
'\\'))
429 *pFileName++ =
_T(
'\\');
449 dwAttribs =
f.dwFileAttributes;
493 szFullPath[1] ==
_T(
':') && szFullPath[2] ==
_T(
'\\'))
554 else if (ch ==
_T(
'Q'))
645#ifdef SUPPORT_EXIT_B_NO_EXTENSIONS
661#ifdef SUPPORT_EXIT_B_NO_EXTENSIONS
691#ifdef INCLUDE_CMD_REM
static VOID ErrorMessage(_In_ DWORD dwErrorCode, _In_opt_ PCWSTR pszMsg,...)
VOID error_invalid_drive(VOID)
VOID PrintCommandList(VOID)
VOID error_req_param_missing(VOID)
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
#define ConErrResPuts(uID)
#define ConErrFormatMessage(MessageId,...)
#define ConOutPrintf(szStr,...)
#define ConErrResPrintf(uID,...)
INT cmd_rmdir(LPTSTR param)
INT cmd_chdir(LPTSTR param)
INT GetRootPath(IN LPCTSTR InPath, OUT LPTSTR OutPath, IN INT size)
INT CommandShowCommands(LPTSTR param)
BOOL MakeFullPath(TCHAR *DirPath)
BOOL DeleteFolder(LPTSTR Directory)
INT CommandRem(LPTSTR param)
INT CommandExit(LPTSTR param)
INT cmd_mkdir(LPTSTR param)
BOOL SetRootPath(TCHAR *oldpath, TCHAR *InPath)
#define STRING_RMDIR_HELP
#define STRING_MKDIR_HELP
#define STRING_ERROR_REQ_PARAM_MISSING
static VOID StripQuotes(LPSTR in)
static VOID freep(LPSTR *p)
static LPSTR * split(LPSTR s, LPINT args)
#define INVALID_HANDLE_VALUE
#define ERROR_ACCESS_DENIED
BOOL WINAPI FindClose(HANDLE hFindFile)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define ERROR_ALREADY_EXISTS
#define ERROR_FILE_NOT_FOUND
#define FILE_ATTRIBUTE_READONLY
#define FILE_ATTRIBUTE_DIRECTORY
INT FilePromptYNA(UINT resID)
VOID GetPathCase(TCHAR *Path, TCHAR *OutPath)
base for all directory entries
DWORD WINAPI GetLastError(void)
#define GetFileAttributes
#define SetCurrentDirectory
#define SetFileAttributes
#define GetCurrentDirectory
#define ERROR_PATH_NOT_FOUND
#define ERROR_FILE_EXISTS