On 29 Apr 2005 at 10:32, Gary VanderMolen wrote:

> Those of us who struggled through the early DOS days remember
> typing commands like COPY CON FILENAME.TXT.
> CON is one of several reserved system device names; also included:
> LPT1, COM1, etc. Files and folders cannot use those names.
> 
> ----- Original Message ----- 
> > Yes but you can name a folder "CONSOLE" but you can't name one "CON".  

Hmm.. how odd: I thought all those special names needed colons.  I know I 
have done DOS scripts to do "copy <something> LPT:" and "PAR:" and 
such...  but I never knew you could leave the colon off.

C:\>mkdir lpt

C:\>mkdir lpt1
The directory name is invalid.

C:\>mkdir lpt2
The directory name is invalid.

C:\>mkdir lpt6
The directory name is invalid.

C:\>mkdir par

C:\

  /Bernie\


-- 
Bernie Cosell                     Fantasy Farm Fibers
mailto:[EMAIL PROTECTED]     Pearisburg, VA
    -->  Too many people, too few sheep  <--       

--
                ----------------------------------------
ALL messages to the list MUST include a descriptive subject.
To Change your email Address for this list, send the following message:
 CHANGE  WIN-HOME  your_old_address  your_new_address
 to:  [EMAIL PROTECTED]
Note carefully that both old and new addresses are required.

Reply via email to