The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    command prompt question (vista)

    Discussion in 'Windows OS and Software' started by Callidor, Jul 7, 2009.

  1. Callidor

    Callidor Notebook Evangelist

    Reputations:
    241
    Messages:
    665
    Likes Received:
    0
    Trophy Points:
    30
    somewhat strange issue: when I try to use commands in my cmd prompt (ipconfig or tracert, for example), they won't work. i can get them to work, but i have to change the current directory to the folder in which the utilities themselves are located.

    so like, if i type cd C:\Windows\System32 and then ipconfig, it will work. This should not, under normal circumstances, be necessary. Any thoughts?

    EDIT: a few months ago, I was messing around with java a bit, and in order to issue the compiler commands from my cmd prompt window, I had to add/edit PATH variables in my environmental variables. Could this be related?
     
  2. Relativity17

    Relativity17 Notebook Evangelist

    Reputations:
    141
    Messages:
    387
    Likes Received:
    0
    Trophy Points:
    30
    You probably borked your path. Go to cmd and type echo %PATH%

    I'm guessing you removed C:\Windows, C:\Windows\system32, etc, and will be wanting those back.

    Start Menu > Computer (right-click) > Properties > Advanced System Settings (left-hand bar) > Environment Variables, edit your Path. Use semicolons as the delimiter.
     
  3. Callidor

    Callidor Notebook Evangelist

    Reputations:
    241
    Messages:
    665
    Likes Received:
    0
    Trophy Points:
    30
    I added those back in to the path variable under system variables and that did the trick. thanks a lot.

    The only thing which seems weird to me is that I remember editing this variable back at the time. All I did was ad the file path for the compiler..never removed anything. Not sure what the story is then. Thanks a lot anyway though. Take some rep.
     
  4. vinumsv

    vinumsv MobileFreak™

    Reputations:
    502
    Messages:
    1,238
    Likes Received:
    0
    Trophy Points:
    55
    hmm might be your removed the delimiter (semicolons)
     
  5. Shyster1

    Shyster1 Notebook Nobel Laureate

    Reputations:
    6,926
    Messages:
    8,178
    Likes Received:
    0
    Trophy Points:
    205
    You may have overwritten the entire PATH variable in that case, so that the only thing in your PATH variable was the path for the compiler.