- May
- 13,740
- 209
I wrote this little plugin.
No matter how I use it, it gives 203.
Code:
INT WINAPI _GLE ( WCHAR* psz )
{
DWORD le = GetLastError();
Sprintf(psz, L"%lu", le);
return 0;
}
No matter how I use it, it gives 203.
Code:
v:\> type I_do_not_exist & echo %_gle
TCC: (Sys) The system cannot find the file specified.
"V:\I_do_not_exist"
203
v:\> echo %@errtext[203]
The system could not find the environment option that was entered.