Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Something strange in Microsoft..

Thread Tools
 
Search this Thread
 
Old 05 December 2002, 02:41 PM
  #1  
ChristianR
Scooby Regular
Thread Starter
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Post

IF you are using Windows2000 Pro or Server (haven't tested this on other MS os') trying createing a folder called con

it wont allow you to. It also wont allow any document to be called con, trying createing a text file in note pad and saving it as con.txt , or in word and saving it as con.doc

It just doesn't allow it!! Bizaarrree!!!!

Anyone know why?
Old 05 December 2002, 02:58 PM
  #2  
mark_h
Scooby Regular
 
mark_h's Avatar
 
Join Date: Mar 2001
Location: Just passing through...
Posts: 17,497
Likes: 0
Received 0 Likes on 0 Posts
Post

It's a reserved word, going back to the days of DOS, when it was the name of a device (the console).

Other reserved words are COM1, COM2, LPT1, LPT2 etc and PRN.

You can actually use CON if you really want from command line. Eg "COPY CON TEST.TXT" will copy everything you type to the file test.txt. Press Ctrl+Z to exit.
Old 05 December 2002, 03:00 PM
  #3  
ChrisB
Moderator
 
ChrisB's Avatar
 
Join Date: Dec 1998
Location: Staffs
Posts: 23,573
Likes: 0
Received 0 Likes on 0 Posts
Post

The days of DOS boot disks but a quick COPY CON would let you write a batch file without needing Edit.

Actually, anyone remember EDLIN?
Old 05 December 2002, 03:06 PM
  #4  
mark_h
Scooby Regular
 
mark_h's Avatar
 
Join Date: Mar 2001
Location: Just passing through...
Posts: 17,497
Likes: 0
Received 0 Likes on 0 Posts
Post

I could never be bothered to learn EDLIN. I've had to put up with some pretty awful editors on Unix (which didn't have VI) and VMS before though.
Old 05 December 2002, 03:50 PM
  #5  
JackClark
Scooby Senior
 
JackClark's Avatar
 
Join Date: Dec 2000
Location: Overdosed on LCD
Posts: 20,852
Received 51 Likes on 34 Posts
Post

EDLIN, bloody hell, there's a blast from the past.
Old 05 December 2002, 03:51 PM
  #6  
MATTeL
Scooby Regular
 
MATTeL's Avatar
 
Join Date: Dec 2001
Location: Carnetix, Adams and Nitosport
Posts: 12,602
Likes: 0
Received 0 Likes on 0 Posts
Wink

VI was much better!
Old 05 December 2002, 03:54 PM
  #7  
Markus
Scooby Regular
 
Markus's Avatar
 
Join Date: Mar 1999
Location: The Great White North
Posts: 25,080
Likes: 0
Received 0 Likes on 0 Posts
Post

emacs is cool!

Trending Topics

Old 05 December 2002, 04:06 PM
  #8  
Jeff Wiltshire
Scooby Regular
 
Jeff Wiltshire's Avatar
 
Join Date: Nov 2000
Location: 412 Wheel HP Audi RS4
Posts: 2,021
Likes: 0
Received 1 Like on 1 Post
Post

VI

AAAAAAAAAAAAHHHHHHHHHH.....runs screaming into the night.....
Old 05 December 2002, 04:12 PM
  #9  
S55 HOT
Scooby Regular
 
S55  HOT's Avatar
 
Join Date: Aug 2002
Posts: 665
Likes: 0
Received 0 Likes on 0 Posts
Wink

EDLIN - now that was when IT required real skill - none of this drag & drop WYSIWYG stuff that the kids of today have.......
Old 05 December 2002, 04:41 PM
  #10  
stevem2k
Scooby Regular
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
Post

Still do 90% of my work in vi.

Pointy clicky editors are for girls.... and don't get me started on admintool .....


Steve
Old 05 December 2002, 04:48 PM
  #11  
shunty
Scooby Regular
 
shunty's Avatar
 
Join Date: Aug 2001
Location: wakefield
Posts: 2,082
Likes: 0
Received 0 Likes on 0 Posts
Talking

quote "Pointy clicky editors are for girls" lol

shunty
Old 05 December 2002, 07:35 PM
  #12  
ozzy
Scooby Regular
 
ozzy's Avatar
 
Join Date: Nov 1999
Location: Scotland, UK
Posts: 10,504
Likes: 0
Received 1 Like on 1 Post
Red face

Steve,

vi is for long-haired, sandal-wearing hippies that don't have a girlfiend

You don't look like Dr Denzil Dexter do you Steve?



Even I remember being forced to use Edlin in 5th year at High School

Stefan
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Scott@ScoobySpares
Full Cars Breaking For Spares
61
11 January 2021 03:08 PM
Scott@ScoobySpares
Full Cars Breaking For Spares
55
05 August 2018 07:02 AM
Scott@ScoobySpares
Full Cars Breaking For Spares
7
14 December 2015 08:16 AM
Baskey
General Technical
3
25 September 2015 03:45 PM
Bazil_SW
Engine Management and ECU Remapping
24
21 September 2015 11:55 PM



Quick Reply: Something strange in Microsoft..



All times are GMT +1. The time now is 03:15 AM.