Results 1 to 13 of 13

Thread: Windows users

  1. #1
    Contributor snc128's Avatar
    Join Date
    03 Nov 06
    Posts
    657

    Windows users

    anyone of u aware of why one cant use "con" while creating a *txt file or a new file etc.
    entitle "con" a new file if u can!

    i have just discovered a solution for it and wanted to share!
    kenan2action speaks louder than words

  2. #2
    chankya's Avatar
    Join Date
    06 Feb 07
    Location
    San Jose
    Posts
    534
    Quote Originally Posted by snc128 View Post
    anyone of u aware of why one cant use "con" while creating a *txt file or a new file etc.
    entitle "con" a new file if u can!

    i have just discovered a solution for it and wanted to share!
    CON is a reserved file name in windows. Its stands for "console".

    LPT#(used to communicate with Line Printer/Parallel port) and COM#(used to communicate with com or serial ports) and PRN for printer etc are some more reserved words.
    "Of all the manifestations of power, restraint impresses men the most." - Thucydides

  3. #3
    Senior Contributor texasjohn's Avatar
    Join Date
    28 Jul 06
    Location
    Arlington, TX
    Posts
    1,257
    I had almost forgotten the old "copy con" command!!!! Jeez!! I don't want to show my age.

  4. #4
    Contributor snc128's Avatar
    Join Date
    03 Nov 06
    Posts
    657
    Quote Originally Posted by chankya View Post
    CON is a reserved file name in windows. Its stands for "console".

    LPT#(used to communicate with Line Printer/Parallel port) and COM#(used to communicate with com or serial ports) and PRN for printer etc are some more reserved words.
    do u have a solution for typing "con" into a new file's name
    kenan2action speaks louder than words

  5. #5
    Senior Contributor texasjohn's Avatar
    Join Date
    28 Jul 06
    Location
    Arlington, TX
    Posts
    1,257
    Quote Originally Posted by snc128 View Post
    do u have a solution for typing "con" into a new file's name
    What exactly are you trying to do?

  6. #6
    chankya's Avatar
    Join Date
    06 Feb 07
    Location
    San Jose
    Posts
    534
    Quote Originally Posted by snc128 View Post
    do u have a solution for typing "con" into a new file's name
    Nope(unless you're an application). So what is it?
    "Of all the manifestations of power, restraint impresses men the most." - Thucydides

  7. #7
    Contributor snc128's Avatar
    Join Date
    03 Nov 06
    Posts
    657
    Quote Originally Posted by chankya View Post
    Nope(unless you're an application). So what is it?
    [IMG][/IMG]
    kenan2action speaks louder than words

  8. #8
    OAF-Old Aggravating Fart Senior Contributor Shamus's Avatar
    Join Date
    13 Apr 07
    Location
    Sebastian,Florida
    Posts
    4,059
    Quote Originally Posted by texasjohn View Post
    I had almost forgotten the old "copy con" command!!!! Jeez!! I don't want to show my age.
    Too late.Umm...I seem to remember it too texasjohn..
    "Every government degenerates when trusted to the rulers of the people alone. The people themselves, therefore, are its only safe depositories." Thomas Jefferson

  9. #9
    chankya's Avatar
    Join Date
    06 Feb 07
    Location
    San Jose
    Posts
    534
    Quote Originally Posted by snc128 View Post
    [IMG][/IMG]
    I'm sorry but i still don't get it. What's your solution?
    "Of all the manifestations of power, restraint impresses men the most." - Thucydides

  10. #10
    Contributor snc128's Avatar
    Join Date
    03 Nov 06
    Posts
    657
    Quote Originally Posted by chankya View Post
    I'm sorry but i still don't get it. What's your solution?
    u still did not understand the problem?
    type "con" intead of any folder's name then press enter.u will notice that the folder's name will not be "con".
    similar situation is valid for the other type of new choices.e.g for txt files.

    i m asking whether anyone knows a solution for it.
    i mean,after writing "con" for a file's name,how can we provide it to sustain its name as "con" after pressing enter.
    kenan2action speaks louder than words

  11. #11
    chankya's Avatar
    Join Date
    06 Feb 07
    Location
    San Jose
    Posts
    534
    Quote Originally Posted by snc128 View Post
    u still did not understand the problem?
    type "con" intead of any folder's name then press enter.u will notice that the folder's name will not be "con".
    similar situation is valid for the other type of new choices.e.g for txt files.

    i m asking whether anyone knows a solution for it.
    i mean,after writing "con" for a file's name,how can we provide it to sustain its name as "con" after pressing enter.
    you can't. it's a reserved keyword in windows.

    Quote Originally Posted by snc128 View Post
    i have just discovered a solution for it and wanted to share!
    I understand the problem but you said this ^^ in your first post and I thought you knew some kind of hack.
    "Of all the manifestations of power, restraint impresses men the most." - Thucydides

  12. #12
    Contributor snc128's Avatar
    Join Date
    03 Nov 06
    Posts
    657
    press function(in Turkish "Çalıştır...") from the start menu.
    [IMG][/IMG]
    type "cmd" press enter.type "mkdir\\.\c:\con " to the following screen.
    here it is
    but u cant delete it.i still could not find how to delete that folder named "con"
    kenan2action speaks louder than words

  13. #13
    chankya's Avatar
    Join Date
    06 Feb 07
    Location
    San Jose
    Posts
    534
    Quote Originally Posted by snc128 View Post
    press function(in Turkish "Çalıştır...") from the start menu.
    [IMG][/IMG]
    type "cmd" press enter.type "mkdir\\.\c:\con " to the following screen.
    here it is
    but u cant delete it.i still could not find how to delete that folder named "con"
    rd \\.\c:\con should work. or alternatley rename and delete
    ( ie ren \\.\c:\con foo
    rmdir foo )

    Its been sometime since i last did anything command line on windows so I'm not sure if the correct command is rmdir or rd. )
    "Of all the manifestations of power, restraint impresses men the most." - Thucydides

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 19 Aug 05,, 03:05
  2. China Internet users grow 18 pct to hit 103 million
    By oneman28 in forum International Politics
    Replies: 1
    Last Post: 27 Jul 05,, 10:58
  3. China's cell phone users at 353 mln, fixed-line 329 mln by end-April
    By oneman28 in forum International Politics
    Replies: 4
    Last Post: 25 May 05,, 08:09

Share this thread with friends:

Share this thread with friends:

Posting Permissions

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