Command Line path

This is a discussion on Command Line path within the A Brief History of Cprogramming.com forums, part of the Community Boards category; hello, Quick question. How can I make the command line (i'm not sure if its DOS becasue its XP) recognize ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    16

    Command Line path

    hello,
    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
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    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
    Posts
    802
    Start->Settings->Control Panel->Advanced->Environmental Variables->System Variables->Path:

    Add ;C:\Mypathtosearch

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

    http://www.snakshak.net

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, 10:13 AM
  2. clipping path
    By stanlvw in forum Windows Programming
    Replies: 0
    Last Post: 07-24-2008, 12:47 AM
  3. Shortest path problem
    By Digitalxero in forum C++ Programming
    Replies: 0
    Last Post: 10-25-2005, 06:32 PM
  4. Path Finding Using Adjacency List.
    By DeepBlackMagic in forum C++ Programming
    Replies: 7
    Last Post: 05-16-2005, 03:34 PM
  5. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 03:53 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21