CMD Type command - When did this happen?
-
I've been using this DOS/Windows shit for 40 years. When did Type start supporting wildcards?
C:\>Type somefile*
somefile1.txt
contentcontentcontent
contentcontentcontent
contentcontentcontentsomefile2.txt
contentcontentcontent
contentcontentcontent
contentcontentcontentsomefile3.txt
contentcontentcontent
contentcontentcontent
contentcontentcontent...
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave KreskowiakAlways?
-
I've been using this DOS/Windows shit for 40 years. When did Type start supporting wildcards?
C:\>Type somefile*
somefile1.txt
contentcontentcontent
contentcontentcontent
contentcontentcontentsomefile2.txt
contentcontentcontent
contentcontentcontent
contentcontentcontentsomefile3.txt
contentcontentcontent
contentcontentcontent
contentcontentcontent...
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
Always?
Not exactly right: I tried in Windows 98 and doesn't work :) In W2k it works however. Don't have a NT installation to check.
Mircea
-
Not exactly right: I tried in Windows 98 and doesn't work :) In W2k it works however. Don't have a NT installation to check.
Mircea
You still use Win98?????
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
-
You still use Win98?????
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
Not exactly: I have VMs with all (ok, almost all) MS OS-es and the "forever" answer made me chuckle and test it on Win98 and Win2k :-D
Mircea
-
Not exactly right: I tried in Windows 98 and doesn't work :) In W2k it works however. Don't have a NT installation to check.
Mircea
I don't recall it ever not working. But I have no way to test it. I have a DOS 6 floppy somewhere... It's possible that I'm just thinking of OpenVMS, and assuming that DOS did it as well. I'm sure I've done things like
TYPE *.txt > combined.txt
to make one big file. -
I've been using this DOS/Windows shit for 40 years. When did Type start supporting wildcards?
C:\>Type somefile*
somefile1.txt
contentcontentcontent
contentcontentcontent
contentcontentcontentsomefile2.txt
contentcontentcontent
contentcontentcontent
contentcontentcontentsomefile3.txt
contentcontentcontent
contentcontentcontent
contentcontentcontent...
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
I don't recall it ever not working. But I have no way to test it. I have a DOS 6 floppy somewhere... It's possible that I'm just thinking of OpenVMS, and assuming that DOS did it as well. I'm sure I've done things like
TYPE *.txt > combined.txt
to make one big file. -
I liked working on VMS and DCL. That's the environment my first programming job was in. Scott
Mine too. Most of my education and the first ten years of my so-called career.
-
Using an a asterisk (wildcard) on the command line has always generated a list of files matching the mask. And the list is passed to the command for processing. I've never used it (AFAIR) for 'type' but there is no good reason why not.
Well, different DOS commands have different ideas about how a parameter should be specified. DIR is pretty lenient, FIND is pretty restrictive, TYPE may be in between. The point being that the command language interpreter is not the only arbiter of what constitutes a "correct" statement.
-
Mine too. Most of my education and the first ten years of my so-called career.
-
Well, different DOS commands have different ideas about how a parameter should be specified. DIR is pretty lenient, FIND is pretty restrictive, TYPE may be in between. The point being that the command language interpreter is not the only arbiter of what constitutes a "correct" statement.