VB and VBA Users Source Code: Tip: DOS command to build a release script
[
Home
|
Contents
|
Search
|
Reply
| Previous | Next ]
VB/VBA Source Code
Tip: DOS command to build a release script
By:
Andrew Baker
Email (spam proof):
Email the originator of this post
Date:
Friday, July 08, 2005
Hits:
1505
Category:
Files/Directories/IO
Article:
Often when building release scripts you may need to concatenate a number of files into a single release file. The DOS command below appends all the files in the current directory (of type sql and proc) into a single file (in the case below, created in a sub directory call output) called "release.txt": mkdir output del .\output\release.sql /Q type *.sql >> .\output\release.sql Note, make sure the file extension of the output file differs from the files that are being add to it, or create the output file in a sub directory. (thanks to Dylan Williams for this tip)
Terms and Conditions
Support this site
Download a trial version of the Excel Workbook Rebuilder