Thread: command for adding to PATH env var

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    552

    command for adding to PATH env var

    I know there's a command to do it, but i cant remember. I tried to add it to the autoexec.bat but that screwed everything up. Im using Win98. Also, is there a site with a list of all the little known commands like this one
    C Code. C Code Run. Run Code Run... Please!

    "Love is like a blackhole, you fall into it... then you get ripped apart"

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Code:
    SET PATH=%PATH%;C:\whatever
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    552
    not actually what i was thinking of, but that works fine. thanks.
    C Code. C Code Run. Run Code Run... Please!

    "Love is like a blackhole, you fall into it... then you get ripped apart"

  4. #4
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    Right-click My Computer on the desktop. Then go to properties. Click the Advanced tab and press Environment Variables. There you will have the list and you can add some and edit, whatever you want to do.

  5. #5
    Registered User
    Join Date
    Jan 2002
    Posts
    552
    I dont have an advanced tab
    C Code. C Code Run. Run Code Run... Please!

    "Love is like a blackhole, you fall into it... then you get ripped apart"

  6. #6
    eh ya hoser, got a beer? stumon's Avatar
    Join Date
    Feb 2003
    Posts
    323
    Originally posted by *ClownPimp*
    I dont have an advanced tab
    Thats because you have Win98. I dont think he read that part, dont feel bad Clown.
    The keyboard is the standard device used to cause computer errors!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help assignment
    By 6kaine9 in forum C Programming
    Replies: 26
    Last Post: 10-19-2008, 08:51 PM
  2. clipping path
    By stanlvw in forum Windows Programming
    Replies: 0
    Last Post: 07-23-2008, 11:47 PM
  3. server question
    By xddxogm3 in forum Tech Board
    Replies: 24
    Last Post: 01-21-2004, 01:12 AM
  4. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 02:53 PM
  5. Vigenere Decipher/Encipher
    By Xander in forum C++ Programming
    Replies: 5
    Last Post: 02-15-2002, 09:24 AM