Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Results 1 to 9 of 9

Thread: Strange, but true

  1. #1
    Grandmaster
    Join Date
    Apr 2004
    Location
    Menlo Park, Pretoria
    Posts
    4,770

    Default Strange, but true

    Somebody discovered that nobody can create a folder anywhere in Windows named as con. Try it out yourself...
    ADSL 4Mb & DG834GT | Ex-Iburst, Ex-Sentech
    MYBroadband.co.za - Your electronic condom against those unwanted telecom infections !

  2. #2
    Super Grandmaster
    Join Date
    Sep 2005
    Location
    Plettenberg Bay
    Posts
    3,281

    Default

    Just tried it and i cant even make a file named con!!!
    insomnia FTW!

  3. #3
    Grandmaster
    Join Date
    Oct 2005
    Location
    Edgemead
    Posts
    1,151

    Default

    Its true. But try making a shortcut called "con". Windows says it already exists.

  4. #4
    Super Grandmaster
    Join Date
    Sep 2005
    Location
    Plettenberg Bay
    Posts
    3,281

    Default

    Quote Originally Posted by Ploempie
    Its true. But try making a shortcut called "con". Windows says it already exists.
    Yep, its the same with any other file
    insomnia FTW!

  5. #5
    Grandmaster
    Join Date
    Oct 2005
    Location
    Edgemead
    Posts
    1,151

    Default

    lol. Its some sort of Microsoft computer control device switch. We are all at their mercy.......

  6. #6
    Senior Member
    Join Date
    Jul 2005
    Location
    Ruiterhof, Randburg
    Posts
    317

    Default

    Reserved name.

    Try AUX, COM1, COM2, PRN, LPT1...

    CON is the reserved name for the console IIRC.

    ie. If you redirect the output of any text file as follows:

    type test.txt > con the file contents will be echoed back on the console
    type test.txt > lpt1 the file contents will be printed using the printer on LPT1
    Last edited by Kropotkin; 28-10-2005 at 03:00 PM.
    Only two things are infinite: the universe and human stupidity, and I'm not sure about the former

    --Albert Einstein

  7. #7
    Grandmaster
    Join Date
    Apr 2004
    Location
    Menlo Park, Pretoria
    Posts
    4,770

    Default

    Quote Originally Posted by Kropotkin
    Reserved name.

    Try AUX, COM1, COM2, PRN, LPT1...

    CON is the reserved name for the console IIRC.

    ie. If you redirect the output of any text file as follows:

    test.txt > con the file contents will be echoed back on the console
    test.txt > lpt1 the file contents will be printed using the printer on LPT1
    Yip, that's the explanation I received from my co-workers as well
    ADSL 4Mb & DG834GT | Ex-Iburst, Ex-Sentech
    MYBroadband.co.za - Your electronic condom against those unwanted telecom infections !

  8. #8

  9. #9

    Default

    It's an old DOS hang up Windows has had to keep around for compatibility
    con is keyboard. My favorite with con in the DOS days was
    Code:
    copy con > test.txt
    Anything you type will end up in the test.txt file. Press F6 followed by enter to save it. Poor mans text editor, great for those DOS 5.0 installs

    This was actually covered in a Microsoft blog a while ago as well
    http://blogs.msdn.com/oldnewthing/ar.../22/55388.aspx
    D>Fantom
    I have a big sig so I can find my posts and skip all the facts that might sway my biased pessimistic opinions.
    --> www.sadev.co.za <-- (you know you want to click it)

Bookmarks

Bookmarks

Posting Permissions

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