home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,732 of 68,980   
   JJ to Robert Roland   
   Re: autoexec.bat   
   09 Mar 21 12:39:19   
   
   From: jj4public@gmail.com   
      
   On Mon, 08 Mar 2021 22:56:11 +0100, Robert Roland wrote:   
   >   
   > Windows NT will not execute autoexec.bat, but will parse it for SET   
   > commands. If it finds any, those variables will be set.   
   >   
   > The parsing is a simple search, so any CALLs to other files will not   
   > be followed.   
      
   That article definitely treats MS-DOS COMMAND.COM as Windows NT's CMD. It   
   shouldn't.   
      
   Windows NT's CMD.EXE, and 32-bit Windows NT's COMMAND.COM including the   
   NTVDM do not use AUTOEXEC.BAT. None of their code have any reference to   
   "AUTOEXEC.BAT". In 32-bit Windows NT, the only thing related to "AUTOEXEC",   
   is the AUTOEXEC.NT in C:\WINDOWS\SYSTEM32.   
      
   In CMD, AUTOEXEC.BAT regardless of its location, is just a normal batch   
   file. It's not a special batch file and doesn't have a special treatment.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca