Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: command prompt  (Read 4767 times)

0 Members and 1 Guest are viewing this topic.

gogo78

    Topic Starter


    Greenhorn

    command prompt
    « on: February 02, 2010, 03:05:02 AM »
    I try to access the directory program files with the command prompt like this

    cd program files  ,but it's not vworking it says: too many parameters- files

    when I do the same thing with a directory without the space it's working..

    can somebody tell me how to walk through the directories with the space in their names

    oldun

    • Guest
    Re: command prompt
    « Reply #1 on: February 02, 2010, 04:26:58 AM »
    You have to enclose the directory name in double quotes.
    i.e. CD "Program Files"

    Or you could use the TAB key to complete directory and filenames.
    i.e. type cd prog
    then press the TAB key.
    The console would display: cd "Program Files"
     If you need to go into other subdirectories, add a backslash and enter a few characters then press the tab key once more.
    e.g. cd "Program Files"\intern
    then press the TAB key, and it would display
    cd "Program Files\Internet Explorer"

    gogo78

      Topic Starter


      Greenhorn

      Re: command prompt
      « Reply #2 on: February 02, 2010, 05:25:12 AM »
      not working

      parameter format not correct - "Program

      gpl



        Apprentice
      • Thanked: 27
        Re: command prompt
        « Reply #3 on: February 02, 2010, 06:30:24 AM »
        Did you put a quote at the end as well -
        cd "Program Files"

        gogo78

          Topic Starter


          Greenhorn

          Re: command prompt
          « Reply #4 on: February 02, 2010, 07:54:05 AM »
          yes

          and it's not working

          gpl



            Apprentice
          • Thanked: 27
            Re: command prompt
            « Reply #5 on: February 02, 2010, 08:04:21 AM »
            What does it say on the screen when 'its not working' ?

            Unfortunately the owners of the forum are too mean to shell out for the mind-reading add-on ;D, so we can only work with the evidence that you supply us

            gogo78

              Topic Starter


              Greenhorn

              Re: command prompt
              « Reply #6 on: February 02, 2010, 08:19:31 AM »

              for:
              cd "Program Files"

              it says:
              Parameter format not correct - Program"

              gpl



                Apprentice
              • Thanked: 27
                Re: command prompt
                « Reply #7 on: February 02, 2010, 08:35:05 AM »
                Got it!
                you are running Command.com
                this does not cope with long filenames very well - do
                dir /x
                to see the long and short names together, then do
                cd PROGRA~1

                Better still, from the run dialog, type in
                cmd
                for much more control, long filename support and much more
                Graham

                gogo78

                  Topic Starter


                  Greenhorn

                  Re: command prompt
                  « Reply #8 on: February 02, 2010, 08:46:20 AM »
                  okey

                  It's working

                  thnx a lot ;D