SETLOCAL removes Aliases and Functions

Back in;
Code:
TCC  18.00.32 x64   Windows 7 [Version 6.1.7601]
when I type SETLOCAL at the command prompt, I still had all of my ALIASes and FUNCTIONs.

Now, in;
Code:
TCC  22.00.32 x64   Windows 7 [Version 6.1.7601]
when I type SETLOCAL at the command prompt, I loose all of my ALIASes and FUNCTIONS.

When I type ENDLOCAL at the command prompt, they return.

Is there a setting that has changed from v18 to v22?

Joe
 
Everything is as it should be when used in a .BTM file;
Code:
@setlocal
@echo off
alias
function
endlocal
...that is, I do not loose my ALIAS and FUNCTIONs.

Joe
 

Similar threads