Search found 2 matches
- 29 Sep 2011 14:37
- Forum: DOS Batch Forum
- Topic: Need help with a simple srcipt
- Replies: 2
- Views: 2839
Re: Need help with a simple srcipt
Thank you Dave Everything below assumes you are running the command or script from the directory with the .sql files, as does your script. What I want to to is just double click on it (already placed in the directory i'm intrested) and run the output file in sql developer ('/' are already included i...
- 29 Sep 2011 13:09
- Forum: DOS Batch Forum
- Topic: Need help with a simple srcipt
- Replies: 2
- Views: 2839
Need help with a simple srcipt
Hi all
can you please help me converting thi simple script from bash to batch?
I just want to put the output of all .sql files in a directory
in anoither sql file in the same directory
Thank you
can you please help me converting thi simple script from bash to batch?
Code: Select all
for element in `ls | grep .sql`
do
cat $element >> scriptino.sql
done
I just want to put the output of all .sql files in a directory
in anoither sql file in the same directory
Thank you