SystemRoot

Discussion in 'A+' started by robbo1962, May 21, 2006.

  1. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    Hi all i am having a problem with systemroot, in the MM book (page 508) it says if you don't know where Windows is installed on a system look in the SystemRoot by going to a command prompt, am i right in thinking you do this by doing RUN type command ENTER. then typing cd %SystemRoot% ENTER. Doing this just gives me an invalid directory Any help would be much appreciated.
     
    Certifications: A+
  2. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    That should say page 508
     
    Certifications: A+
  3. Malnomates

    Malnomates Megabyte Poster

    667
    25
    67
    You need to specify the command for 'change directory' in your command prompt window and follow that with the directory you wish to change to..

    CD is the command to Change Directory

    Type CD %systemroot% and you should come to a command prompt that starts C:\WINDOWS

    This is assuming you have windows installed on C:
     
    Certifications: A+ Network+
  4. d-Faktor
    Honorary Member

    d-Faktor R.I.P - gone but never forgotten.

    810
    0
    39
    what you're doing wrong is starting up 'command' from the run window. you should be starting up 'cmd'.
    'command' and 'cmd' are not the same thing.
     
  5. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    If i type in CD ENTER and then %systeroot% i get a prompt saying C:\WINDOWS is not recognised as an internal or external command, operable program or batch file. Is this normal and if so what use is it?
     
    Certifications: A+
  6. d-Faktor
    Honorary Member

    d-Faktor R.I.P - gone but never forgotten.

    810
    0
    39
    there is no enter between cd and %systemroot%

    so concluding: start > run > cmd > press enter
    then: cd %systemroot% press enter
     
  7. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    nothing happens when i do this just the same documents and settings prompt
     
    Certifications: A+
  8. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    Then you aren't following the instructions.

    Select the 'run' box and type 'cmd'. A dos/console box appears.
    Then type cd $systemroot%

    I did the above - see below:
    If this doesn't work then there is something wrong with your setup. I have seen vesrions of XP where the whole environment was so badly messed that things like this didn't work.

    Does that help?

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  9. d-Faktor
    Honorary Member

    d-Faktor R.I.P - gone but never forgotten.

    810
    0
    39
    first, when you've done the start > run > cmd > enter part, and the additional window opens, what does it say at the top?

    second, at the command prompt, type set and press enter. find the systemroot entry, and tell us what it is.

    [edit] or what harry says...
     
  10. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    following your instructions Harry gives me
    D:\ Documents and settings\Gary>

    but no mention of anything else
     
    Certifications: A+
  11. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    So now type "cd %systemroot%"

    Without the quotes.

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  12. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    typing set give a whole lot of information on the computer, systemroot says C:\ WINDOWS
    Typing %systemroot% just gives me the same D:\Documents and settings\Gary
     
    Certifications: A+
  13. d-Faktor
    Honorary Member

    d-Faktor R.I.P - gone but never forgotten.

    810
    0
    39
    but you shouldn't be typing just %systemroot%. you should type: cd %systemroot%, followed by an enter!
     
  14. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    Whatever combination i use just gives me the same prompt
    D:Documents and settings\Gary
     
    Certifications: A+
  15. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    Sigh - *please* read what was written!

    I said type "cd %systemroot%", I didn't say type "%systemroot%"!
    In any case - you say
    which means that your system is pretty standard!

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  16. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    Suggestion - when you do this cut'n'paste it here. Then we can see what you are getting wrong and help you.

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  17. d-Faktor
    Honorary Member

    d-Faktor R.I.P - gone but never forgotten.

    810
    0
    39
    hang on. did you say your document and settings is on d:?
    try this at the command prompt:

    c: (followed by an enter)
    cd %systemroot% (followed by an enter)

    [edit] reason being, you can't use the change directory command to go to a folder on a different drive.
     
  18. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    i have been typing cd %systemroot% but there is no mention of systemroot says anything. Is there any real benefit to be gained from SystenRoot?
     
    Certifications: A+
  19. robbo1962

    robbo1962 Byte Poster

    134
    3
    22
    *SystemRoot do any of you qualified techs use this a great deal?
     
    Certifications: A+
  20. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    Please - cut'n'paste what you see - otherwise we will just go round and round.

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.