copy con: out.txt

  • Thread starter Thread starter Jean Pierre Daviau
  • Start date Start date
J

Jean Pierre Daviau

Hi administrators'guru,

What is the meaning of the colons in

copy con: out.txt

I know it creates a file.txt
I know it copies it to the screen and that Ctr; +z terminates the file.

How could I write that another way?



--
Thanks for your attention.

Jean Pierre Daviau
--
Easyphp1.8 with Apache1.3.24
Server version: Apache/2.0.55
Server built: Oct 9 2005 19:16:56
DEVC++, borland 5.5
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz
Processor Radeon7000 0x5159 agp
http://www.jeanpierredaviau.com
 
In microsoft.public.win2000.cmdprompt.admin Jean Pierre Daviau
wrote:
Hi administrators'guru,

What is the meaning of the colons in

copy con: out.txt

I know it creates a file.txt
I know it copies it to the screen and that Ctr; +z terminates
the file.

How could I write that another way?

copy con out.txt
<g>

What are you trying to accomplish?
What OS?
 
Jean Pierre Daviau said:
Hi administrators'guru,

What is the meaning of the colons in

copy con: out.txt

I know it creates a file.txt
I know it copies it to the screen and that Ctr; +z terminates the
file.

How could I write that another way?

The colons were once required on all device names.

You still use them for drive letter names: C:, D:, etc.

They're now optional for other devices:
AUX:
AUX

CON:
CON

LPT1:
LPT1

PRN:
PRN

etc.

David
Stardate 6532.1
 
Back
Top