Question Locked

Windows XP

0 helpful
15 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I tried creating a folder named "con" in desktop of Windows XP.But it isnt working..Could anyone say why?..Is tat related to System.

15 replies

by dawgit

You're right, I had never noticed that that before. The answer here, 'con' is to your computer, short for 'config'(=configuration, and system related) therfore a no-no. A folder can't be named as a command (no 'exe' naming either) Just use a different name for your file.

by dawgit

(I know XP, that's not what I mean) I had checked my German XP, and it gave me: config, is your a American sys? It still amazes me as to some of the differences. (They are different)
edited to add I don't think I have a console :( (it's call something different)
...just checked the international ver. (also from Germany) sitting here, same thing. comes up with .cfg & config files, funny that

by tonythetiger

System devices exist in all directories, so you will be unable to create files or folders with the same name as a device (con, com1, lpt1, etc.)

by xt john

The only time I remeber using 'con' from the ol' DOS days was in typing stuff like
copy con autoexec.bat a thousand times in editing batch files. I had to try making a folder called con and sure enough it's a nono :-O

by 1bn0

con is an internal device name in DOS.
I frequently use it when preparing a hdd for a win98 install. (yes some people still run win98).

The main use is to create a file from nothing when no editor is available. i,e, no dos edit.com.

to create file go to a prompt
enter the command:
copy con filename.ext

After that command is entered all input from the keyboard will be output to filename.ext in the default directory.

to end the input you enter an End Of File command. Press either F6 on th keyboard or CTRL+Z.

You will see
1 file(s) copied.

For example:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

P:\>copy con config.sys
device=c:\windows\himem.sys
^Z
1 file(s) copied.

P:\>dir
Volume in drive P has no label.
Volume Serial Number is AC24-FD25

Directory of P:\

01/23/2007 11:26 AM
.
01/23/2007 11:26 AM
..
01/23/2007 11:23 AM 29 config.sys
1 File(s) 29 bytes
2 Dir(s) 1,513,332,736 bytes free

P:\>

You can not use internal device names fir filenames

by tonythetiger

You could, for example, type "Copy CON LPT1" at the DOS prompt and type stuff in and when you hit a Control-Z (end of file character), it would print what you typed.

by dawgit

I had thought you had found it in a XP sys. I'm always amazed at the differences between the two, suposedidly same OS's. (mine are actually writen in German, even the International edition) They are simular, but not quite the same. -d

by toivo talikka

The logical device CON: - short for the system console device, used for communicating with the operator - was already part of CP/M, which pre-dated and was the model for MS-DOS.

by dawgit

That had to be the Late, late '70s to early '80s. ?:| Have I forgotten that much? :0 (geeze, I'm getting old :_| ) -d

edited to add, I wish you hadn't done that. That got me to remembering those days when we all had asgined times that we supposed to check-in and down-load, dump actually to the (mini) main frame. That then would run, or make the punch cards. It only worked sorta of, most of the time we would just put the data on those big flopy's and walk them up the hill. That was all before the Internet, and the easy, point and click, send of the present times. Now why did have to go and get me thinking of that? :^0 -d

by toivo talikka

... one had to be conversant with magnetic ledger cards and how to convert the contents to punched paper tape so that it could be read onto magnetic tape which then got converted from ASCII to EBCDIC so that the big mainframe could accept it. That was in the jolly mid-70's.

The old-timers were reminiscing how they had to wear gloves to do the hardware oriented programming of office systems in the mighty memory space they had, 4KB (kilobytes). But, mind you, they were also joking that they need to be deep frozen and revived in 1999, before Y2K to fix their own code, and that was in 1975.

by dawgit

8" floppies, you do know that most people don't even know they ever existed. The 5?"s are in museums. I remember the gloves too, they came with the units we had at the time. (all got lost, bad idea)
geeeze, Y2K was such a long time away. at that time the problem was just a therory. -d

by jamesrl

My first computer job, we shipped software for mini computers on 12inch floppies, and they were pretty floppy. We used pieces of cardboard to stiffen the packages for shipment. My first backups for those systems were on 9 track mag tape.

At one company at I worked, one of the constant worries was being able to read old data. They built things where contractually they were obliged to keep the project data for the life of the building. If it was built in the 70s, they may have fun if they didn't convert it to a newer format somewhere along the way - they didn't have a device for reading paper tape for example.

James

by dawgit

Worked wonders in those days :p . (They didn't like it much when we used old ones, oh well, they got over it.)-d

This discussion is closed to new replies.