Sorry... I was only being silly... I figured you just hadn't had time to see it.
I remember this from about 6years ago I worked for a company called TRO, taken over by Vega, which had DOS based software which was CBT for commercial pilots. Learned a LOT of DOS things, and
copy con was one of them... oddly enough, if you do
copy /? or
copy con /?, or similar, there is no info about it! Possibly because from DOS 5.x onwards,
edit.com was available, so they saved space by not mentioning it... who knows!
It's funny because originally when you said you couldn't use
type to edit the file, only
view it, I was suspicious, and thought, "That's wrong... we used to use
type to edit files at TRO". It was actually
copy con I was remembering, but getting mixed up because we used
type to view the files, regularly. You see I remembered the
Ctrl-Z and how to use the command I had in mind, and thought was
type, but I was mistaken, obviously, because type is not that useful! In fact, I think my confusion was because of a discussion I now remember I had with my boss about how stupid to name a command
type when you couldn't TYPE anything to the file! He was the one who originally introduced me to
copy con.
So I did some searching with using
type in mind, and found
bootcfg which I knew, but had forgotten. With your reply, though, I thought, "Surely there must be a way to use
type to edit a file!" I was determined!
I then decided to search for
DOS commands create edit files in Google, when suddenly I found
copy con and it all flooded back! In fact the top page hit was this:
Note on the above page, it is more of a side-note that if you have DOS 4.x or less... wouldn't it be useful for Windows 2000 Recovery People to know??? Silly Microsoft (as usual)
Glad to help!
Will
![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)