[windows2000] Re: Merge files with a Script

  • From: "Ray Costanzo" <rcostanzo@xxxxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Mon, 30 Apr 2007 09:53:29 -0400

At the command prompt (or in a .cmd file) do:

Copy
MTR_2007-04-30.TXT+SAL_2007-04-30.TXT+RO3_2007-04-30.TXT+MTR_2007-04-27.TXT+
MRO_2007-04-27.TXT 20070430.txt

Or do you need some script that will automate this on a daily basis or
something?

Ray at work

> -----Original Message-----
> From: windows2000-bounce@xxxxxxxxxxxxx [mailto:windows2000-
> bounce@xxxxxxxxxxxxx] On Behalf Of Dave Flaim
> Sent: Monday, April 30, 2007 9:45 AM
> To: windows2000@xxxxxxxxxxxxx
> Subject: [windows2000] Merge files with a Script
> 
> 
> I was wondering if anybody could help with their scripting expertise
> ...
> 
> If I have a list of files in a directory ...
>          MTR_2007-04-30.TXT
>          SAL_2007-04-30.TXT
>          RO3_2007-04-30.TXT
>          MTR_2007-04-27.TXT
>          MRO_2007-04-27.TXT
> 
> I would need to take all of the files for the given day ... let's say
> ..
> today 04/30/2007 and merge their contents into one file named
> 20070430.txt
> 


*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options 
and info are available at:
http://www.VistaPop.com
***************************** 
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: