1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Command line interface (confusion)

Discussion in 'A+' started by asje1, Oct 27, 2008.

  1. asje1

    asje1 Byte Poster

    173
    2
    32
    Im using Windows XP Pro, reading through Mike Meyers all in one exam guide and in this chapter its going on about commands etc, which i fully understand. Except 1 thing...

    Ive used command prompt before (with bootable keys or whatever)... but normally with LFN ive used for example, asje1ex~.doc for example (think this is because its 98 version of DOS?)...

    I have a file on my desktop which is spelt 'check sheet.doc', which hasnt been shorted with a ~, and i dont know what the syntax is for a space? If you can use space that is? Im just abit confused...

    Does anyone know how i can get around this or point me where im going wrong. Thanks
     
    Certifications: A+, N+
  2. Tinus1959

    Tinus1959 Gigabyte Poster

    1,539
    42
    106
    Embed the name in double quotes like this:
    copy "c:\new folder\long file name.doc" d:\news\
     
    Certifications: See my signature
    WIP: MCSD, MCAD, CCNA, CCNP
  3. Mathematix

    Mathematix Megabyte Poster

    969
    35
    74
    Also, if you want to know what the mangled name is (the name with the '~' in of any file or folder), type:

    Code:
    dir /x
    
     
    Certifications: BSc(Hons) Comp Sci, BCS Award of Merit
    WIP: Not doing certs. Computer geek.
  4. asje1

    asje1 Byte Poster

    173
    2
    32
    Aaahhh works perfect! Thanks both of you.
     
    Certifications: A+, N+

Share This Page

Loading...