The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Environment variables question

    Discussion in 'Windows OS and Software' started by unknowntt, Dec 20, 2011.

  1. unknowntt

    unknowntt Notebook Evangelist

    Reputations:
    94
    Messages:
    652
    Likes Received:
    0
    Trophy Points:
    30
    So since I need to be able to compile java source code on my machine, I've need to change my environment variables. The PATH is changed to SUN/bin/whatever, where the javac batch file is located.

    Problem is, now when I use the command prompt, I can't use ipconfig, or any of that crap, cause it's not long set to System32.

    Is there a way of using both? How would I go about doing that?

    Thanks in advance!
     
  2. Pirx

    Pirx Notebook Virtuoso

    Reputations:
    3,001
    Messages:
    3,005
    Likes Received:
    416
    Trophy Points:
    151
    You were supposed to add that folder to the path, not replace the path with that single folder. Had you looked at the path you overwrote, you would have seen that it had a number of folders there, separated by semicolons. Better get yourself a stock Windows system and copy the path variable from there. You probably just broke a lot of functionality, and not just the minor issue you mentioned...
     
  3. unknowntt

    unknowntt Notebook Evangelist

    Reputations:
    94
    Messages:
    652
    Likes Received:
    0
    Trophy Points:
    30
    Yeah you're probably right. I added C:\Windows;C:\Windows\system32, along with the Java one, separated by a semicolon, and it works fine now. I will look into any other paths I am missing. Thanks for your help.