I have been trying for hours and I am very close but there is something I am doing wrong.....
Here is what I am trying to acheive
I have pokertracker 4, which for those not knowing is a hand and stst tracker for online poker, it reads the hand histories from various online poker sites and you can review hand histories and use a HUD for targeting weakplayers etc. Now the histories are stored by each site in a specific place in a .TXT format
The site I am currently using is not supported by pokertracker but I have found that I can edit the txt file just by changing the name of the poker room in the txt file, there are other issues with the file but I am nbot bothered about those stats being incorrect.
I Have so far tried xcopy and robocopy in batch files and havce set it with a loop and timer so it can pull hands live from the file, the problem I am getting is that while I am playing the txt document is being constantly updated by the poker client and I need to copy this file ever 10 seconds for example and move it to another location on my hard drive, I can then direct pokertracker to the new folder where the files are copied to and have the batch file change the name of the poker room within the txt file
I hope I am making sense and you are all following me....
So far my only succes has been to have the job complete one and keeps looping but doesnt seem to update the files it skips them, hope you can help
here is the batch file thus far
Code: Select all
:loop
XCOPY "C:\Users\Better than peter\AppData\Roaming\YachtingPoker\HandHistoryNG\JasonWells" E:\yachtinghistory
timeout /T 10
"C:\Users\Better than peter\Desktop\Find&Replace.exe" --cl --dir "E:\yachtinghistory" --fileMask "*.*" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "Hive Poker" --replace "PokerStars"
timeout /T 10
goto loop
Thanks in advance