DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: I did not know this,try creating a text file named con.txt  (Read 6,135 times)

tinyvillager

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 444
I did not know this,try creating a text file named con.txt
« on: November 05, 2005, 05:09 AM »
I seen this over on digg.Pretty hokey i know but it's true,windows will not allow you to create a text file name
con.txt :o

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: I did not know this,try creating a text file named con.txt
« Reply #1 on: November 05, 2005, 02:33 PM »
Did you know that you can Open con.txt in any folder ?

Try this Open NotePad, File > Open, go to any folder on your hard disc and type con.txt in the filename field, click open ...

Jibz

  • Cold Warrior
  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Participated in NANY Challenge Four Times
Re: I did not know this,try creating a text file named con.txt
« Reply #2 on: November 05, 2005, 03:50 PM »
Yes .. it's because con refers to a device .. you'll probably have similar problems with nul, aux and prn.

Why the operating system doesn't handle device names with an extension differently, I do not know.
"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu

Original address: https://www.donationcoder.com/forum/index.php?topic=1421.0