mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
add %CMDEXTVERSION% example to use it echo %CMDEXTVERSION% the value are hardcode to 2. for it is that value ms win2k / winxp report back. thx arty to test it in win xp.
svn path=/trunk/; revision=16495
This commit is contained in:
parent
610ec85471
commit
bff830321b
1 changed files with 9 additions and 1 deletions
|
@ -1037,7 +1037,15 @@ ProcessInput (BOOL bFlag)
|
|||
cp = _stpcpy (cp, pargv);
|
||||
}
|
||||
|
||||
|
||||
/* %CMDEXTVERSION% */
|
||||
else if (_tcsicmp(ip,_T("cmdextversion")) ==0)
|
||||
{
|
||||
TCHAR szVER[40];
|
||||
/* Set version number to 2 */
|
||||
_itot(2,szVER,10);
|
||||
cp = _stpcpy (cp, szVER);
|
||||
}
|
||||
|
||||
/* %ERRORLEVEL% */
|
||||
else if (_tcsicmp(ip,_T("errorlevel")) ==0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue