Appending to the path statement

Discussion in 'Computer Support' started by TinCanMan, Jun 2, 2004.

  1. TinCanMan

    TinCanMan Guest

    I need to append a string the existing system (machine) path variable
    from within a batch file. Set and setx don't seem to work don't work
    because they work with the user path or are only active from within
    that shell. I tried using setenv and that didn't work although the
    help file implies you can do that. It errored out when enclosing the
    existing ath in % signs and ignored enclosing them in quotes. Any
    suggestions?
    TinCanMan, Jun 2, 2004
    #1
    1. Advertising

  2. TinCanMan

    °Mike° Guest

    http://www.microsoft.com/windowsxp/home/using/productdoc/en/path.asp


    On 2 Jun 2004 10:34:20 -0700, in
    <>
    TinCanMan scrawled:

    >I need to append a string the existing system (machine) path variable
    >from within a batch file. Set and setx don't seem to work don't work
    >because they work with the user path or are only active from within
    >that shell. I tried using setenv and that didn't work although the
    >help file implies you can do that. It errored out when enclosing the
    >existing ath in % signs and ignored enclosing them in quotes. Any
    >suggestions?


    --
    Basic computer maintenance
    http://uk.geocities.com/personel44/maintenance.html
    °Mike°, Jun 2, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Caruso
    Replies:
    2
    Views:
    1,521
    John Caruso
    Jul 24, 2003
  2. DW
    Replies:
    7
    Views:
    26,036
    lbellysmit
    Jan 3, 2011
  3. kanjali

    appending xml document in C#

    kanjali, Apr 18, 2008, in forum: Software
    Replies:
    0
    Views:
    810
    kanjali
    Apr 18, 2008
  4. Martin Krag

    Long Path Tool - Fix Path Too Long Forever

    Martin Krag, Mar 31, 2011, in forum: Windows 64bit
    Replies:
    0
    Views:
    1,373
    Martin Krag
    Mar 31, 2011
  5. Martin Krag

    Long Path Tool - Fix Path Too Long Forever

    Martin Krag, Mar 31, 2011, in forum: Wireless Networking
    Replies:
    1
    Views:
    2,258
    robinst
    Dec 15, 2012
Loading...

Share This Page