1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

autoexec.bat - what does this do ?

Discussion in 'Legacy Windows' started by merlin, 2003/07/16.

Thread Status:
Not open for further replies.
  1. 2003/07/16
    merlin

    merlin Inactive Thread Starter

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    set path=%Path%;C:\Folder\

    and can whatever it does be put in win.ini

    [Programs]

    section ?

    regards
     
  2. 2003/07/16
    reboot

    reboot Inactive

    Joined:
    2002/01/07
    Messages:
    831
    Likes Received:
    0
    All is does is add the path to c:\folder to the system.
    If you have a program in that folder, that starts when Windows starts, then it must be pathed.
    If you don't have such a thing in that folder, simply remove the line, or delete atuoexec completely, as you don't need it in Win98.
     

  3. to hide this advert.

  4. 2003/07/16
    merlin

    merlin Inactive Thread Starter

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    Thanks for the reply and info Reboot.
    In the reg start-up, the program is started from the full path
    anyway . I have removed autoexec.bat with no side effects
    so far. It was the %Path% param that puzzled me.
    regards
     
  5. 2003/07/16
    reboot

    reboot Inactive

    Joined:
    2002/01/07
    Messages:
    831
    Likes Received:
    0
    Using "%Path%" means that THAT path is added to ALL windows components that may require it, including the master path in the registry, not just a specific app.
     
  6. 2003/07/16
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    Its worth mentioning that although Win98 doesn't need autoexec.bat we might. If you have an app which is required to execute automatically before windows then automatic execution.bat is the way to go. I've got four such apps - two commercial and two home brewed. I've also got some conditional statements from menuitems defined in config.sys. For example, sometimes my TEMP folder is on the hdd and sometimes its on a RAM disk for a specific reason.
     
    Last edited: 2003/07/16
  7. 2003/07/16
    BillyBob Lifetime Subscription

    BillyBob Inactive

    Joined:
    2002/01/07
    Messages:
    6,048
    Likes Received:
    0
    Windows 95 and up to and including 98 SE do not need Config.sys or Autoexec.bat that is true. But DOS does.

    But the need for them is totally individual user or system setup dependent.

    I myself ( in 98SE anyway ) have the AV checking the Boot Sector.

    I have several set commands.

    Set TMP=C:\Window\Temp
    Set Temp=C:\Window\Temp

    These help to keep install temp files in one place.

    SET Blaster= ( DOS audio )

    I have a PATH=C:\;C:\Windows;C:\Windows\Command

    Makes it much easier to run DOS commands from the Start/Run line. Or even any Windows executables. As Windows already knows where they are.

    A couple of my DOS programs require Himem.sys, EMM386.exe, etc. in the Config.sys.

    I did have the CDROM driver in config.sys for awhile. But on occasion it would mess up my Windows CRDOMs and the IDE controllers.

    So the bottom line is. User/System Requirements.

    gammaepsilon
    is correct.

    BillyBob
     
    Last edited: 2003/07/16
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.