Results 1 to 7 of 7

Thread: What is the ppurpose of Autoexec.bat?

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    1

    What is the ppurpose of Autoexec.bat?

    Hi,

    Can any one let me know what is the purpose of autoexec.bat.....


  2. #2
    Contributing Member
    Join Date
    Apr 2007
    Answers
    58

    Re: What is the ppurpose of Autoexec.bat?

    Plz dont ask these simple questions here.. Just do a search on google to get a detailed list of sites...Anyway I'm sure you are not a beginner as you know how to register in this forum and post it ..so u must know how to google it.. =

    Regards,
    Anoop :)
    If its useful, dont forget to [COLOR="Red"]THANK[/COLOR] me :cool:

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Answers
    1

    Re: What is the ppurpose of Autoexec.bat?

    Autoexec.bat is the first file which will be executed whenever OS loads. so all the necessary files which are to be started are kept in it


  4. #4
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: What is the ppurpose of Autoexec.bat?

    I strongly agree with madhava_sify.

    If you open this file in notepad and see its contains, you will find a list of paths like c:\windows\... and/or d:\winnt\...

    These are the locations that the OS will search whenever an unrecognized command is entered at command prompt or in Run window.

    The order in which, the OS searches for the file in the above case is

    -current folder
    -root directory
    -OS directory
    -all the paths in autoexe.bat file in the order given

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  5. #5
    Contributing Member
    Join Date
    Apr 2007
    Answers
    58

    Re: What is the ppurpose of Autoexec.bat?

    Autoexec.bat does not have much importance in case of Windows compared to older DOS systems. In windows, the programs to be started automatically are added to Startup group instead of Autoexec.bat. Not all programs can be loaded from Autoexec.bat, driver files & some other special programs r loaded from Config.sys and u can set the path & other variables from system properties. So autoexec.bat is not a must in case of windows and is provided for mainly backward compatibility.

    Regards,
    Anoop :)
    If its useful, dont forget to [COLOR="Red"]THANK[/COLOR] me :cool:

  6. #6
    Expert Member
    Join Date
    Sep 2006
    Answers
    477

    Re: What is the ppurpose of Autoexec.bat?

    Well said Haitalk. I also agree with you on asking "Very basic questions". But then, if someone does ask a simple question, we just can't be rude to them.

    Most of the times .config file will be empty! It is more useful for DOS than windows.

    -Kalayama

    [COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]

    Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"

  7. #7
    Junior Member
    Join Date
    Apr 2007
    Answers
    1

    Re: What is the ppurpose of Autoexec.bat?

    Hi!
    The autoexec.bat and the config.sys were files created for MS-DOS and Windows 3.x as an easy solution of loading the files required for various devices as well as the operating system to properly run. These files are required for later revisions of MS-DOS and Windows 3.x to load. Because Microsoft is trying to steer away from MS-DOS, these files are not required for Windows 95, Windows 98, Windows NT, Windows ME, Windows 2000, Windows XP, or later operating systems.

    To edit these files, type edit c:\autoexec.bat to edit the autoexec.bat file

    Below is an example of what an autoexec may look like:

    @echo off
    SET SOUND=C:\PROGRA~1\CREATIVE\CTSND
    SET BLASTER=A220 I5 D1 H5 P330 E620 T6
    SET PATH=C:\WINDOWS;C:\
    LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:123
    LH C:\MOUSE\MOUSE.EXE
    DOSKEY
    CLS
    [SIZE="3"]
    In other words Auotoexec.bat file contains the user drive information of the system
    Thanks & Regards,
    kumar.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact