1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

Autoexec.bat? Why's it empty?

Discussion in 'BBS Hangout' started by Ubiquitin, Nov 9, 2002.

  1. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    20,655
    Likes Received:
    16,090
    First, right clicked and tried to edit it. Opened in notepad and it is completely bare. Then I acctually use notepad to open it and still, nada,
    Any idea where I can go to set my paths?
     
  2. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    20,655
    Likes Received:
    16,090
    So, I add the line SET PATH=C:\windows;C:\windows\command;C:\j2sdk1.4.1_01\bin
    to the Autobat.exec, works like I won't it to. then I open a new prompt, it doesn't automatically load
     
  3. 111chase111

    111chase111 Member

    Joined:
    Oct 16, 2000
    Messages:
    1,660
    Likes Received:
    21
  4. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    20,655
    Likes Received:
    16,090
  5. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    25,316
    Likes Received:
    13,489
    Try adding this line to the end of your autoexec.bat file:

    SET PATH=%PATH%;C:\J2SDK1.4.1_01\BIN\

    Works for me. I can now execute javac.exe anywhere along with any other executables in that directory from any location.

    Oh...and re-boot.

    thanks, Surf
     
  6. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    20,655
    Likes Received:
    16,090
    I found my problem, whenever I would open my prompt, it wouldn't read the autoexec.bat, but I made it so it would run autoexec first thanks everyone
     

Share This Page