Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch File Removing Character?

Status
Not open for further replies.

tekdudedude

Technical User
Sep 29, 2007
79
Hello,

In the below batch file (.bat) my right parenthesis is being removed. How can I fix this?

Code:
set SCHEMAS=SCOTT BETTY
FOR %%A IN (%SCHEMAS%) DO (
   echo exec ctx_ddl.sync_index('%%A.DESCRIPTION_IDX','40M') ; >> %TMP%\myfile.sql
)

The right parenthesis (in myfile.sql) is being removed at this place: '40M')


Thanks,

TD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top