born2achieve
New member
- Local time
- 3:57 PM
- Messages
- 36
Hi, I have a folder which has 20 text files and i need to find a word "Core" on the text files and and need to list out the file name where the text "Core" exists.
But the above code is not working as expected. any sample code to achieve this please
Code:
for /R %%a in (C:\Sample\*.txt) do find "%Core" %%a >> output.txt
But the above code is not working as expected. any sample code to achieve this please
My Computer
- Computer type
- PC/Desktop
- OS
- windows7 64 bit
