Well it looks like your attempting to get information contained in a variable of the script from a command prompt... don't think that is going to happen.

What exactly are you looking for? KiX can do searches as well.

tail
----

Similar to head, but the reverse. Prints out the last X characters (-c) or
lines in a file.

We have UDFs that do this type of searching as well.

Regardless of the method of doing it. What information are you trying to find, and once found what do you want to do with this information.