mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 04:33:32 +00:00
[CMD][SERVMAN][SHELL32][WINSPOOL][ROSAPPS][NTOS:PNP] Fix my build.
This commit is contained in:
parent
ec0853ba70
commit
3c722e35b1
8 changed files with 23 additions and 17 deletions
|
@ -409,11 +409,13 @@ INT Batch(LPTSTR fullname, LPTSTR firstword, LPTSTR param, PARSED_COMMAND *Cmd)
|
|||
/* Perform top-level batch initialization */
|
||||
if (bTopLevel)
|
||||
{
|
||||
TCHAR *dot;
|
||||
|
||||
/* Default the top-level batch context type to .BAT */
|
||||
BatType = BAT_TYPE;
|
||||
|
||||
/* If this is a .CMD file, adjust the type */
|
||||
TCHAR *dot = _tcsrchr(bc->BatchFilePath, _T('.'));
|
||||
dot = _tcsrchr(bc->BatchFilePath, _T('.'));
|
||||
if (dot && (!_tcsicmp(dot, _T(".cmd"))))
|
||||
{
|
||||
BatType = CMD_TYPE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue