[AccessD] Kinda OT:A2003 Calling a batch file - merging files

Darren D darrend at nimble.com.au
Sun Jul 29 18:29:33 CDT 2007


Hi all

 

I am calling a batch file from my access app

 

The batch file just 'merges' a few files into one big file and then gives it a
name

 

This is the batch file - Very basic - 1 liner - 

 

copy FirstFile.txt + C:\SomeFolder\*.xml + Secondfile.txt
mynewcoolcombinedfile.XML

 

Pretty basic - but the combining leaves a small ascii type square as the very
very last character - Like this --->

 

Anyone know how to stop this from happening?

 

Or even better - How to 'build' or merge a few files into one big file - from
VBA

 

Or even better still - How to insert Text eg Merge

 

"This is the start of the file" +  C:\SomeFolder\*.XML + "This is the end" into
OneCoolFile.XML

 

Many thanks in advance

 

DD

 




More information about the AccessD mailing list