Thread: Command Line path

  1. #1
    Registered User
    Join Date
    Jun 2002

    Command Line path

    Quick question. How can I make the command line (i'm not sure if its DOS becasue its XP) recognize one of my own directories as one of its default paths. ie - i made a CAT program for windows/dos, and i would like to be able to execute and use it from any directory i'm currently in, and i don't really want to put it in C:\Windows\system32 or any other of the default paths, so that i can find and debug my own programs easier withought going to those huge directories and finding them. Thanks for the help.

  2. #2
    Join Date
    Aug 2001
    you can change your path variable. Look up how to change it in xp I think it's like control panel something. Then you would set it to something like c:\bin; %path%

  3. #3
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Start->Settings->Control Panel->Advanced->Environmental Variables->System Variables->Path:

    Add ;C:\Mypathtosearch

  4. #4
    Registered User
    Join Date
    Jun 2002
    thanks, the 2nd one worked.
    Now i'll be an efficient MACHINE
    always learning, always frustrated

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. clipping path
    By stanlvw in forum Windows Programming
    Replies: 0
    Last Post: 07-23-2008, 11:47 PM
  3. Shortest path problem
    By Digitalxero in forum C++ Programming
    Replies: 0
    Last Post: 10-25-2005, 05:32 PM
  4. Path Finding Using Adjacency List.
    By DeepBlackMagic in forum C++ Programming
    Replies: 7
    Last Post: 05-16-2005, 02:34 PM
  5. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 02:53 PM