cmd.exe, system exe's, registry, meh... - Page 2
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20

Thread: cmd.exe, system exe's, registry, meh...

  1. #16
    DrMDJ is offline Virtual PC Specialist!!!
    Join Date
    Apr 2000
    Location
    NJ, USA
    Posts
    8,428
    The response to the PATH command should not really say %systemroot% in it, rather the actual value (eg. C:\windows) should be substituted in to the response. I realize that when you display %systemroot% it is showing the right value, but... Something is indeed odd here.

    From the cmd prompt again type in SET. See what is in the PATHEXT setting (to see that exe is in it).
    Please remember to post back whether your problem is resolved or
    not, so that others may gain from the knowledge.

  2. #17
    DrMDJ is offline Virtual PC Specialist!!!
    Join Date
    Apr 2000
    Location
    NJ, USA
    Posts
    8,428
    Right click on My computer, select properties, go to the Advanced tab. You'll see a button for Evvironmental Variables (near bottom). You can set what's need there.
    Please remember to post back whether your problem is resolved or
    not, so that others may gain from the knowledge.

  3. #18
    Join Date
    Jul 2003
    Posts
    1,255
    I changed all instances of "%systemroot%" to "D:\windows" and it works now..

    heh, when I was going to set it the grid showed the path with the D:\,ect., but if I hit the edit button it will show it with the %systemroots%, see attached photo

    I just thought it was funny because I was like WTF, its already set with the D:\,ect. and if one were to not hit the edit button then it would be overlooked that they are in %systemroot%, and it may not work..., good old M$

    EDIT-
    BTW
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

    another EDIT-
    almost forgot to thank everyone for their help

    well.., thanx,
    Byan
    Attached Images Attached Images
    Last edited by Byan; November 15th, 2004 at 07:47 PM.

  4. #19
    DrMDJ is offline Virtual PC Specialist!!!
    Join Date
    Apr 2000
    Location
    NJ, USA
    Posts
    8,428
    The way it displayed vs the way it showed up when editting is normal. The entry does actually contain/say %systemroot%, but like with other things when it is just displayed the substitution is done.
    Please remember to post back whether your problem is resolved or
    not, so that others may gain from the knowledge.

  5. #20
    Join Date
    Jul 2003
    Posts
    1,255
    Originally posted by DrMDJ
    The way it displayed vs the way it showed up when editting is normal. The entry does actually contain/say %systemroot%, but like with other things when it is just displayed the substitution is done.
    yeah, I realise that, but since its kinda of ironic how they did that.., when I had to change it to what the product of the subsitution was, because it seems that windows can't do it themselves..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •