Yes it does - it's specified via a registry key. I tried to find a reliable page to link to but the best I could find was this:
https://ss64.com/nt/syntax-autoexec.html
Many, many, moons ago Windows NT had support for an 'autoexec.nt' batch file which did the same, so it's not a new feature just horribly undocumented.