|Hehe.. It was late ye..|
Well, i dont want a big txt file to be read.
max 3lines would do just fine.
I would then like to search for a string inside the variable containing the text.
For example an ip adress
I'll try to show what i want:
If "string" found in %variable% goto next
When it comes to file comparing, i'll illustrate what i was thinking aswell:
If file1=file2 goto next
I dont know if this is possible tho, or if i have to use fc file1 file2>>result.txt
,then read result into a variable and then look for a string inside the variable.
Hope that made more sense..
And finally, hope anyone can help me with the last one (nr.3).
Problem is that i cant echo this into the file called filename.txt
"echo File %wheretoo0%\%wheretoo1%%choise1% already exist, skipping file >> ErrorLog.txt "