I need to find a specific string in the Windows PATH recursively and replace the string with another string:
Task # 1
I identified(with help) on how to identify the path of available string using the below script.
findstr /s /i /m /c:"topaz3258" H:\MKS\build\host\dev\*.* > H:\topaz3258\result.txt
Task # 2
Now I need your assistance to update "topaz3258" with "topaz103258" in all the above path identified for the string. The file type is ".ini" and ".cmd" files.
Note: Powershell is restricted in the organization, so I have to use Batch script.