I want to capture string containing word "REJECTED" from set of .dat files stored in perticular folder. I am using below find command

```
find  "REJECTED" C:\Users\SBA\Desktop\CBS\OUTBOX\*

```

But it is genrating output as shown below

```
---------- C:\USERS\SBA\DESKTOP\CBS\OUTBOX\PRF_FES_ACCTBTCH_11012014_47.DAT
2DR0089    C40291100002100000000628780011/01/145070A0158230-R/                         A0158230-RINR                                                                                                                                                       01  9545                                                            5070  00 BATCH REJECTED
2CR0089    G39000000033900000000628780011/01/145070A0158230-R/                         A0158230-RINR                                                                                                                                                       01  9545                                                            5070  00 BATCH REJECTED

---------- C:\USERS\SBA\DESKTOP\CBS\OUTBOX\PRF_FES_ACCTBTCH_11012014_48.DAT

---------- C:\USERS\SBA\DESKTOP\CBS\OUTBOX\PRF_FES_ACCTBTCH_11012014_49.DAT

---------- C:\USERS\SBA\DESKTOP\CBS\OUTBOX\PRF_FES_ACCTBTCH_11012014_50.DAT

```

I dont want lines after rejected part from outpot.

```
---------- C:\USERS\SBA\DESKTOP\CBS\OUTBOX\PRF_FES_ACCTBTCH_11012014_47.DAT
2DR0089    C40291100002100000000628780011/01/145070A0158230-R/                         A0158230-RINR                                                                                                                                                       01  9545                                                            5070  00 BATCH REJECTED
2CR0089    G39000000033900000000628780011/01/145070A0158230-R/                         A0158230-RINR                                                                                                                                                       01  9545                                                            5070  00 BATCH REJECTED

```

Means I want output which contains "REJECTED" only. As shown above.

How to achive this?