Hi forum users ,
is it possible, to make a batch to search through all .txt files, that are in the same folder?
Basically, I want to adjust the following .bat, so that instead of having to manually enter the .txt name, it will automatically find any .txt and then does it's search.
Any ideas?
Kind regards, MasterOfNothing, SlaveToEverything
This is the current .bat, where it requires manual input:
is it possible, to make a batch to search through all .txt files, that are in the same folder?
Basically, I want to adjust the following .bat, so that instead of having to manually enter the .txt name, it will automatically find any .txt and then does it's search.
Any ideas?
Kind regards, MasterOfNothing, SlaveToEverything
This is the current .bat, where it requires manual input:
@echo off
:loop
echo Looted so far:
@echo off
find /n /c "Name:" C:\Users\sig\Desktop\Dream\Dream\Logs\2016-08-16-14.txt
timeout /t 10
@echo off
echo Captured so far:
find /n /c "CatchSuccess" C:\Users\sig\Desktop\Dream\Dream\Logs\2016-08-16-14.txt
@echo off
echo Counter restart after time expires
timeout /t 60
goto loop
:loop
echo Looted so far:
@echo off
find /n /c "Name:" C:\Users\sig\Desktop\Dream\Dream\Logs\2016-08-16-14.txt
timeout /t 10
@echo off
echo Captured so far:
find /n /c "CatchSuccess" C:\Users\sig\Desktop\Dream\Dream\Logs\2016-08-16-14.txt
@echo off
echo Counter restart after time expires
timeout /t 60
goto loop