me,myself,english and programming..

Simple DOS command..yet still saves my day.

My friend send me a bunch of files where it have a sql scripts for each table. I need to combine all those files into one and later will be use to reverse engineer and analyze the tables.

Below are simple steps that I use to combine all those files using command prompt.

Create an empty file.

echo.> mytables.sql

Run this magic.

for %x in (*.*) do type %x >> mytables.sql

That’s all.

Post a Comment