Re: autoexec.bat file



When Windows is started the autoexec.bat file is parsed for path variables only, the option to parse the file can be changed by way of a registry edit.

To subst your folder/drive just create a batch file containing your subst command and put the batch file or a shortcut to the file in your startup folder.

John

Don Schmidt wrote:

Running Windows XP Pro SP3

I'd like to have the autoexec.bat file run but it doesn't. What is the how to?
On the C drive I've created the folder, Drive_E

In the autoexec.bat file I have the following line:

subst E: C:\Drive_E

It will run if I double click the bat file but not run upon bootup.

Help appreciated.

.



Relevant Pages

  • Re: OT-- any better way to assign path
    ... I'll bet that SUBST takes up less than 32K of memory, ... Regarding that network mapped drive, ... Type in the path to the folder in question ... I then put it in a batch file and put a shortcut to this file in ...
    (alt.sys.pc-clone.dell)
  • RE: OT-- any better way to assign path
    ... Subst takes a little bit of memory, as it is a resident program, but not ... Regarding that network mapped drive, ... Type in the path to the folder in question ... I then put it in a batch file and put a shortcut to this file in ...
    (alt.sys.pc-clone.dell)
  • Re: autoexec.bat file
    ... clicking on the shortcut in the Start folder the new drive would be created. ... 'Suppose just going to the drive folder would be as good. ... To subst your folder/drive just create a batch file containing your subst ...
    (microsoft.public.windowsxp.basics)
  • Re: robocopy command for directory time stamp copy
    ... copy folder timestamps under windows xp sp2 ntfs? ... this is not a question about copying file timestamps; ... The batch file below will do just that. ... #subst T: "%Source%" ...
    (microsoft.public.windowsxp.general)
  • Re: Duplicating Files
    ... Here is a brief explanation of each line of code: ... In this line you tell the program where the parent folder resides. ... This line ends the main part of the batch file. ...
    (microsoft.public.windowsxp.general)