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.

PATH in XP

Discussion in 'Windows XP' started by David Favin, 2005/11/20.

  1. 2005/11/20
    David Favin

    David Favin Inactive Thread Starter

    Joined:
    2004/07/08
    Messages:
    149
    Likes Received:
    0
    Troops:

    Simple question.
    How does one edit PATH in WINDOWS XP?

    For exmple, suppose I want to change the order of the folder appearances
    in PATH, or suppose I want to add an additional folder to PATH. How is this done?

    David L. Favin
     
  2. 2005/11/20
    WhitPhil

    WhitPhil Inactive

    Joined:
    2002/01/07
    Messages:
    599
    Likes Received:
    4
    My Computer > Right Mouse > Properties > Advanced Tab > Environment Variables.

    But, out of curiousity, why do you want to change the path?
     

  3. to hide this advert.

  4. 2005/11/21
    David Favin

    David Favin Inactive Thread Starter

    Joined:
    2004/07/08
    Messages:
    149
    Likes Received:
    0
    WhitPhil:

    I use MKS Toolkit to write some AWK programs. When I use the programs they might be applied in any folder (or using the preferred UNIX term , directory). Hence I want the execution to take place without the necessity of specifying a long PATH.

    This also applies to any C++ or BASIC programs I might write. I just installed XP and wanna set things up right.

    Thanks for the response. :) :) :) :) :) :) :) :)

    David
     
  5. 2005/11/21
    WhitPhil

    WhitPhil Inactive

    Joined:
    2002/01/07
    Messages:
    599
    Likes Received:
    4
    Ok, clear I guess.

    So, you are starting these apps via Start > Run, then?
    Or, are you at a command prompt?

    The easiest way, without having to worry about paths, is to create a shortcut icon to the appropriate program.
     
  6. 2005/11/21
    David Favin

    David Favin Inactive Thread Starter

    Joined:
    2004/07/08
    Messages:
    149
    Likes Received:
    0
    WhitPhil:

    MKSToolKit provides a UNIX like environment within WINDOWS. When I am in that mode I am using a command line. Your suggestion regarding using an icon might have some limited merit but a command line operation allows parameters to be passed to the executing program. Icons do not afford that option.
    As to using the RUN feature of WINDOWS I would once again have to indicate the full PATH to the desired program which is laborious when the program is deeply embedded in a depth of folders. This is especially so if one is troubleshooting a program.

    With the command line operation you go to the folder holding the program and just type in the name of the program and any command line parameters.
    The program does its thing. You then can modify it and tune it to what you want. Your entire operation is in one directory even if the program calls for things in other directories. With the dot (.) in the PATH the operating system looks in your current folder for commands you might have issued.

    I hope I have made this clear.

    David Favin
     
    Last edited: 2005/11/21
  7. 2005/11/21
    WhitPhil

    WhitPhil Inactive

    Joined:
    2002/01/07
    Messages:
    599
    Likes Received:
    4
    Ah, substantially clearer.

    Sounds like it's a job for "Path ". :)
     

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.