Cannot read autoexec.bat during bootup

  • Thread starter Thread starter Homer
  • Start date Start date
H

Homer

I cannot get my autoexec.bat to be read during bootup. I even made the
registry change:
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
ParseAutoexec=1

and no change. Anyone have any ideas?
 
In said:
I cannot get my autoexec.bat to be read during bootup. I even
made the registry change:
[HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon] ParseAutoexec=1

and no change. Anyone have any ideas?

Not sure. Is the file in the root of the "system" drive? (usually C:)
You know that only portions (eg PATH) are read?
Why would you want to in NTx OSs?
Better to do via System Properties, Advanced, Environmental Variables.
For PATH or othe env. vars.

Nothing will be executed (Run) from that file.
 
--------------------
Subject: Re: Cannot read autoexec.bat during bootup
From: Mark V <[email protected]>
Newsgroups: microsoft.public.win2000.general,microsoft.public.win2000.registry

Not sure. Is the file in the root of the "system" drive? (usually C:)
You know that only portions (eg PATH) are read?
Why would you want to in NTx OSs?
Better to do via System Properties, Advanced, Environmental Variables.
For PATH or othe env. vars.

Nothing will be executed (Run) from that file.
--

Homer,

To add to what Mark says above, if you need something to load for a DOS based or 16-Bit program then we should be
adding it to the Autoexec.nt file and not to Autoexec.bat.

Bill Peele
Microsoft Enterprise Support

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the
terms specified at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread
from which they originated.
 
Well I created an AUTOEXEC.NT file and it still did not do what I wanted.
Basically what I need to do is run this command SUBST R: C:\ I need
that prior to the system starting up since the R drive is shareable. If
I put a BAT file in the STARTUP folder, the R drive does not become
shareable.
 
This article may help.

How to Run a Batch File Before Logging on to Your Computer
http://support.microsoft.com/support/kb/articles/Q243/4/86.ASP


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect


:
| Well I created an AUTOEXEC.NT file and it still did not do what I wanted.
| Basically what I need to do is run this command SUBST R: C:\ I need
| that prior to the system starting up since the R drive is shareable. If
| I put a BAT file in the STARTUP folder, the R drive does not become
| shareable.
|
|
| > --------------------
| > Subject: Re: Cannot read autoexec.bat during bootup
| > From: Mark V <[email protected]>
| > Newsgroups:
| > microsoft.public.win2000.general,microsoft.public.win2000.registry
| >
| > Not sure. Is the file in the root of the "system" drive? (usually
| > C:) You know that only portions (eg PATH) are read?
| > Why would you want to in NTx OSs?
| > Better to do via System Properties, Advanced, Environmental Variables.
| > For PATH or othe env. vars.
| >
| > Nothing will be executed (Run) from that file.
| > --
| >
| > Homer,
| >
| > To add to what Mark says above, if you need something to load for a
| > DOS based or 16-Bit program then we should be adding it to the
| > Autoexec.nt file and not to Autoexec.bat.
| >
| > Bill Peele
| > Microsoft Enterprise Support
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights. Use of included script samples are subject to the terms
| > specified at http://www.microsoft.com/info/cpyright.htm
| >
| > Note: For the benefit of the community-at-large, all responses to
| > this message are best directed to the newsgroup/thread from which they
| > originated. Attachment decoded: untitled-2.txt
| > ------=_NextPart_0001_3289DD62
| > --------------------
| > Subject: Re: Cannot read autoexec.bat during bootup
| > From: Mark V <[email protected]>
| > Newsgroups:
| > microsoft.public.win2000.general,microsoft.public.win2000.registry
| >
| > Not sure. Is the file in the root of the "system" drive? (usually
| > C:) You know that only portions (eg PATH) are read?
| > Why would you want to in NTx OSs?
| > Better to do via System Properties, Advanced, Environmental Variables.
| > For PATH or othe env. vars.
| >
| > Nothing will be executed (Run) from that file.
| > --
| >
| > Homer,
| >
| > To add to what Mark says above, if you need something to load for a
| > DOS based or 16-Bit program then we should be adding it to the
| > Autoexec.nt file and not to Autoexec.bat.
| >
| > Bill Peele
| > Microsoft Enterprise Support
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights. Use of included script samples are subject to the terms
| > specified at http://www.microsoft.com/info/cpyright.htm
| >
| > Note: For the benefit of the community-at-large, all responses to
| > this message are best directed to the newsgroup/thread from which they
| > originated. Attachment decoded: text-x-rtf-3
| > ------=_NextPart_0001_3289DD62--
|
 
Homer said:
I cannot get my autoexec.bat to be read during bootup. I even made the
registry change:
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
ParseAutoexec=1

and no change. Anyone have any ideas?

Autoexec.bat does NOT execute under Wind2000 - it is simply
parsed for the Path statement. What are you actually trying to
achive?
 
In said:
Well I created an AUTOEXEC.NT file and it still did not do what I

C:\AUTOEXEC.NT would not be correct. But what you want to do is not
an item for either flavor of AUTOEXEC.
wanted. Basically what I need to do is run this command SUBST R:
C:\ I need that prior to the system starting up since the R
drive is shareable. If I put a BAT file in the STARTUP folder,
the R drive does not become shareable.

First see Dave's post and links. Then if needed say more about what
you need to have instead of what you have tried. If C:\ is SUBST'd
to R:, why not share C:? Not that I think that is a good thing mind
you.
 
Basically what I need to do is run this command SUBST R: C:\ I need
that prior to the system starting up since the R drive is shareable. If
I put a BAT file in the STARTUP folder, the R drive does not become
shareable.
Homer said:
I cannot get my autoexec.bat to be read during bootup. I even made
the registry change:
[HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon] ParseAutoexec=1

and no change. Anyone have any ideas?

Autoexec.bat does NOT execute under Wind2000 - it is simply
parsed for the Path statement. What are you actually trying to
achive?
 
Why not simply share the C:\ drive?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect


:
| Basically what I need to do is run this command SUBST R: C:\ I need
| that prior to the system starting up since the R drive is shareable. If
| I put a BAT file in the STARTUP folder, the R drive does not become
| shareable.
 
--------------------
Subject: Re: Cannot read autoexec.bat during bootup
From: Homer <123abc@de>
Newsgroups: microsoft.public.win2000.registry
Date: Fri, 05 Mar 2004 15:52:06 -0800

Well I created an AUTOEXEC.NT file and it still did not do what I wanted.
Basically what I need to do is run this command SUBST R: C:\ I need
that prior to the system starting up since the R drive is shareable. If
I put a BAT file in the STARTUP folder, the R drive does not become
shareable.
--

Homer,

The Autoexec.nt only gets loaded when the NTVDM sub-system is loaded, which is why I stated "if you needed something
to load for a DOS based or 16-Bit program then we should be adding it to the Autoexec.nt...".

Now that we know what you are trying to do I agree with Dave's recommendation to look at article 243486.

Bill Peele
Microsoft Enterprise Support

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the
terms specified at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread
from which they originated.
 
Put any batch file into c:\documents and settings\all users\
start menu\programs\startup. It will run when you log on.


Homer said:
Basically what I need to do is run this command SUBST R: C:\ I need
that prior to the system starting up since the R drive is shareable. If
I put a BAT file in the STARTUP folder, the R drive does not become
shareable.
Homer said:
I cannot get my autoexec.bat to be read during bootup. I even made
the registry change:
[HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon] ParseAutoexec=1

and no change. Anyone have any ideas?

Autoexec.bat does NOT execute under Wind2000 - it is simply
parsed for the Path statement. What are you actually trying to
achive?
 
Back
Top