Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696

    What's wrong with 'con'?

    Freaky trick of the day:

    Try creating a folder (under Win2K/XP) called 'con'. Try even at the command prompt. I bet you can't!

    Any programmers here have any idea why? Is this a reserved device name to Windows?

    Edit: Yes I did find that it is a really old reserved device name for DOS. You could send output to the console, which meant using 'con'.

    Example: copy test.txt con

    I guess that answers that...
    Last edited by Tek; 11-09-2005 at 01:58 PM.

  2. #2
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Good find, never knew that. I remember DOS and "copy con" (emulating console), but the rest escapes me - I'm way too old

  3. #3
    Join Date
    May 2003
    Location
    St. Paul, MN
    Posts
    540
    Go to the dos command prompt.

    Type in:

    copy con kill.me

    Type something in.

    Hit Control-z

    What you typed is in "kill.me".

    Heh, heh. Back in MY day REAL MEN used "con" all the time .

    GcB

  4. #4
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Quote Originally Posted by gbrown
    Go to the dos command prompt.

    Type in:

    copy con kill.me

    Type something in.

    Hit Control-z

    What you typed is in "kill.me".

    Heh, heh. Back in MY day REAL MEN used "con" all the time .

    GcB
    [BellyLaughterOn]

    You just'a be CON'in me aint yee?

    [BellyLaughterOff]
    Intrigued

Similar Threads

  1. Is there something wrong with Math.Floor?
    By dthompson16 in forum AutoPlay Media Studio 5.0
    Replies: 10
    Last Post: 05-27-2005, 01:57 AM
  2. My first VB DLL for AMS, or what am I doing wrong?
    By itamar in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 07-25-2004, 01:56 PM
  3. Wrong Error Code (When not reaching host)
    By Thierry_Zoller in forum Setup Factory 6.0
    Replies: 0
    Last Post: 04-21-2004, 05:53 PM
  4. what is wrong with this script??
    By Martin_SBT in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 12-05-2003, 01:25 PM
  5. NEED HELP ON A MESSAGE AFTER A WRONG PASSWORD
    By dragon in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 02-21-2002, 11:11 PM

Posting Permissions

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