First of all, thanks a lot, Fireballs, for your effort.
I'm not sure were exactly to put the code you gave me, so I'll just explain what I have already.
"cdbflite.exe" players.dbf /case /filter:TEAM=39 /filter:POSITION=3;POSITION=2 /out:Wing.txt /select:PLAYERID /updateI have the above code this way in my first batch file because the computer generated players are generally undersized. When they are generated, they are all in TEAM #39. Players playing the position 3 and 2 tend to be about the same size, so my batch file filters them out together and stores their respective player IDs in Wing.txt
After running that batch file, the Wing.txt looks somewhat like this:
4017
4022
4023
4028
...
In a second batch file, I have the following code:
"cdbflite.exe" appearance.dbf /case /filter:APPEARID= /filter:HEIGHT{78 /field:HEIGHT=78 /updateThis second one is as of now incomplete, pending a way to get the player IDs stored in Wing.txt and equating them to APPEARID in the code above.
Do I insert your code in this second batch file? If so, where?
If I understood the instructions in your code, it should look like this:
for /f "tokens=* delims=" %%A in ('Wing.txt') do ("cdbflite.exe" appearance.dbf /case /filter:
APPEARID= /filter:HEIGHT{78 /field:HEIGHT=78 /update )
I however do not see where APPEARID is being equated to the line being extracted from Wing.txt. Is there something I'm missing? Pardon my ignorance