Hey all,
I'm trying to write a batch file to parse a text file I have. Here's the pseudo code I'm trying to pull off:
Example makefile.txt:
text text text
text text text
text text text text text text
text text text text text text
text text textT1 = SomeFileToProcess
T2 = AnotherFileToProcess
--------------all: $(T1) $(T2)
//Given: current directory has makefile.txt
While !eof
If "$(T1)" exists in makefile.txt
echo "T1 = SomeFileToProcess"
If "$(T2)" exists in makefile.txt
echo "T2 = AnotherFileToProcess
Is this possible with a batch file? Is there another native XP language that would be easier to write this in?
Thanks for any help.