Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!texbell!merch!cpe!hal6000!trsvax!don
From: don@trsvax.UUCP
Newsgroups: comp.sys.ibm.pc
Subject: Re: Unix-like cat for MS-DOS
Message-ID: <216100120@trsvax>
Date: 10 Aug 89 13:23:00 GMT
References: <380@wjh12.harvard.edu>
Lines: 21
Nf-ID: #R:wjh12.harvard.edu:380:trsvax:216100120:000:850
Nf-From: trsvax.UUCP!don    Aug 10 08:23:00 1989


>MS-DOS 'copy' does not like wildcards; I can not concatenate temp1
>and temp2 into temp3 by entering "copy temp? temp3" (assuming that
>temp1 and temp2 exist and temp3 doesn't.

Actually, this works fine for me.  Command.com complains that the contents
of the file temp3 is lost, but when I look at the file, it is the correct
concatenation of the two temp files.  If such an error bothers you, there
is an easy solution.  Create a temporary directory called tempdir.  Then
execute the DOS commands:

	copy temp? tempdir\temp3
	copy tempdir\temp3 .

This even takes care of the case where temp3 already exists.  BTW, I'm using
DOS 3.3.
---------------------------------------------------------------------
Don Subt			The opinions expressed above are
Tandy Corp.			strictly mine, not my employer's.

817-390-3068			...!texbell!letni!rwsys!trsvax!don