Even though everyone tells us there is no more DOS, apparently the
command line still recognizes at least some of those filenames as
special
copy con for one. ;-)
---------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>copy con "%userprofile%\Desktop\note.txt"
Hi, Stan
This still works, doncha see.
^Z
1 file(s) copied.
C:\>
---------------------
I found just one reference to copy con in an XP MSKB article.
How to troubleshoot problems that you may experience when you try to print
to a local printer by using Office programs in Windows XP
http://support.microsoft.com/kb/870622
Here are a few DosDevices that I found in my registry.
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\
PARALLEL PORTS
Value Name: \Device\Parallel0
Data Type: REG_SZ
Value Data: \DosDevices\LPT1
Value Name: \Device\Parallel0.4
Data Type: REG_SZ
Value Data:\DosDevices\LPT1.4
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Session Manager\DOS Devices
Value Name: AUX
Data Type: REG_SZ
Value Data: \DosDevices\COM1
Value Name: MAILSLOT
Data Type: REG_SZ
Value Data: \Device\MailSlot
Value Name: NUL
Data Type: REG_SZ
Value Data: \Device\Null
Value Name: PIPE
Data Type: REG_SZ
Value Data: \Device\NamedPipe
Value Name: PRN
Data Type: REG_SZ
Value Data: \DosDevices\LPT1
Value Name: UNC
Data Type: REG_SZ
Value Data: \Device\Mup
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Value Name: \DosDevices\A:
Value Name: \DosDevices\C:
Value Name: \DosDevices\D:
Value Name: \DosDevices\E:
Value Name: \DosDevices\F:
Introduction to MS-DOS Device Names
http://msdn.microsoft.com/library/d..._9a0ea03a-898f-408a-9bce-e1855da47016.xml.asp
Local and Global MS-DOS Device Names
http://msdn.microsoft.com/library/d..._8f1d44af-b30c-434c-97ab-e5de5db16f07.xml.asp
Object Names
http://msdn.microsoft.com/library/d..._0efe70aa-395a-4231-a2cd-1b7ea83c4873.xml.asp
How to restore the system/boot drive letter in Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;223188
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In