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.

Win98se Autoexec.bat !!!

Discussion in 'Legacy Windows' started by jmlooi, 2005/04/21.

Thread Status:
Not open for further replies.
  1. 2005/04/21
    jmlooi

    jmlooi Inactive Thread Starter

    Joined:
    2003/06/27
    Messages:
    33
    Likes Received:
    0
    Hi All, I had system running win98se, AVG antivirus software, Startup item

    from "msconfig" only run on AVG. Perform antivirus & adware spyware scanning

    nothing found. The problem is Autoexec.bat file doesn't allow to add

    new command line in. For Example : add in command line "SET

    PATH=C:\WINDOWS\COMMAND;C:\WINDOWS\SYSTEM ". System do reboot,

    then this command line will not there. If the system reboot under safe mode,

    add this command line in "AUTOEXEC.bat" and do restart, the command line is

    there. But unlikely if system rebboot again, this command line will disappear.

    Do I need to format the system? Please help and Thanks Advance.....
     
  2. 2005/04/21
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    If you're using the " "" "before" and after the command line->remove them.
     

  3. to hide this advert.

  4. 2005/04/21
    markp62

    markp62 Geek Member Alumni

    Joined:
    2002/05/01
    Messages:
    4,012
    Likes Received:
    16
    Are you using Spybot's Teatimer?
     
  5. 2005/04/22
    jmlooi

    jmlooi Inactive Thread Starter

    Joined:
    2003/06/27
    Messages:
    33
    Likes Received:
    0
    Thanks for replying, I add this commandline

    SET PATH=C:\WINDOWS\COMMAND;C:\WINDOWS\SYSTEM

    in AUTOEXEC.BAt without " " " ". and also remove of antispyware software.

    Any ideas?? Thanks
     
  6. 2005/04/22
    BillyBob Lifetime Subscription

    BillyBob Inactive

    Joined:
    2002/01/07
    Messages:
    6,048
    Likes Received:
    0
    The correct path in the Autoexec.bat is;

    Path=C:\Windows;C:\Windows\Command.

    SET is not needed.

    I am pretty sure that only the DOS side of the house uses it and the Config.sys.

    BillyBob
     
    Last edited: 2005/04/22
  7. 2005/04/22
    markp62

    markp62 Geek Member Alumni

    Joined:
    2002/05/01
    Messages:
    4,012
    Likes Received:
    16
    The default 98 Path is C:\WINDOWS;C:\WINDOWS\COMMAND, this is set before the Autoexec comes into play.
    You should use this line instead, it allows you to add onto the default Path.

    SET PATH=%PATH%;C:\WINDOWS\SYSTEM

    You should end up with the Path C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS\SYSTEM.
    Maybe windows doesn't like it's folder taken out of the Path, the cause of this stumps me other than software monitoring actions taken on startup files.

    After you do this, open a dos window and do this command. It makes Autoexec.Bat 'Read Only' and marks it as a 'System file', may make it a bit harder for something to change it.
    While you can put 'Read Only' on it in Windows Explorer, you can't do the 'System'.
    attrib +r +s c:\autoexec.bat
     
  8. 2005/04/23
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    Is Windows installed in the C:\Windows folder :confused:
     
  9. 2005/04/23
    BillyBob Lifetime Subscription

    BillyBob Inactive

    Joined:
    2002/01/07
    Messages:
    6,048
    Likes Received:
    0
    Is Windows installed in the C:\Windows folder

    Excellent question .

    Such as C:\Windows001.

    In other words maybe Windows has been installed more than once and the machine booted from the Hard drive and installer did not watch install path during the install.

    I have personaly made that mistake.

    That is quite correct. DOS does not like it either.

    BillyBob
     
    Last edited: 2005/04/23
  10. 2005/04/23
    BillyBob Lifetime Subscription

    BillyBob Inactive

    Joined:
    2002/01/07
    Messages:
    6,048
    Likes Received:
    0
    I wrote this
    I am pretty sure that only the DOS side of the house uses it and the Config.sys.

    I may have to retract ( or re-think ) that.

    On my Wifes 98SE machine the PATH statement reads;

    PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C\;E:\IMS;E:\QTW\BIN

    E:\IMS and E:\QTW\BIN are associated with a WINDOWS Card Game. And if they are not in the path then the game WILL NOT RUN.

    But the game also goes back to the days of Win95. It has just been carried over to each newer OS.

    BillyBob
     
  11. 2005/05/04
    jmlooi

    jmlooi Inactive Thread Starter

    Joined:
    2003/06/27
    Messages:
    33
    Likes Received:
    0
    I had solved my problem finallly after format the system,

    Thanks for everyone contributed your ideas.
     
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.