Find not working
Posted: 25 Oct 2019 18:32
I have a bat file with this code:
This is the file called BootFixerTest.txt it's looking at:
The bat file is going to Pause when it should goto Done.
What can I change so it will recognize "Windows installations: 0" and goto Done?
Thanks,
Docfxit
Code: Select all
type "%~dp0BootFixerTest.txt" |find /i "Windows installations: 0" >nul || goto :Done
Pause
Code: Select all
Scanning all disks for Windows installations.
Please wait, since this may take a while...
Successfully scanned Windows installations.
Total identified Windows installations: 0
The operation completed successfully.
What can I change so it will recognize "Windows installations: 0" and goto Done?
Thanks,
Docfxit