|What i tried to do is below -|
FOR /F "tokens=1-3" %%G IN (sample.txt) DO (
if %%G == 'XYZ' and %%H == 'ABC' and %%I == 'PQR' then
c:\oracle\ora92\bin\sqlplus %login% "@C:\Documents and Settings\vyom\Desktop\test.sql"
This is working fine. But, do i have to call the initial script again and again for every file or can i make it a utility program and call it for every program where i want to use it.
If there is some other approach to do the above thing please help me with that , and how to make it a utility program.