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.

If you're new here, you may want to subscribe to my RSS feed or get my latest post directly in your mailbox. Thanks for visiting !

Related Post:
  • Learn english for malaysian.
  • How to configure streamyx with WAG200G router
  • Extract, Transform and Load (ETL)
  • Gambas - Can’t connect to local MySQL server through socket workaround
  • The day when VLOOKUP saves her day.



  • Can't find what you are looking for? Go Gooogle...
    Google

    Leave a Reply


    AWSOM Powered