You can use this script to get the page title.
# Script Title.txt var str page, content cat $page > $content stex -r -c "^<title&</title&\>^" $content
Save this small code in the file C: /Scripts/Title.txt. The code is in biterscripting. Run biterscripting and enter this command.
script "C:/Scripts/Title.txt" page("http://stackoverflow.com/questions/3135488/how-can-i-get-pages-title-tags-content-if-it-cant-be-parsed-as-xml")
It will get the name of this page (the one you are viewing). Use any other URL or local file path as the page value (). Use double quotes. When I ran this command, I got
How can I get the page <& name GT; tag if it cannot be parsed as XML? - Stack Overflow
You can call this script from any executable or batch file.
source share