Okay, I have looked at a lot of string manipulation samples and have looked in the manual, but I appear to either be missing it or not understanding it. I know it can be done, I just can't seem to figure it out.How can I get an EXACT string from a text file? ie.. If I shell out and use FIND, it will even come back with a partial match (don't see any switch to say exact match), If I use PV.EXE it does the same thing with a partial match.
Here is an example of what I want to do.
SHELL '%comspec% /c pv.exe -q >c:\rc.txt'
This should give me a list of all of the currently running processing on the system.
I then want to read this file and find
RTVSCAN.EXE or RTVSCN95.EXE not RTVS.EXE or RTVSCN9.EXE or anything similar to these file names.
Meaning I ONLY want to find (not case sensitive though) RTVSCAN.EXE or RTVSCN95.EXE based upon which OS it is running on. I don't want to find a partial match like these other utilities do.
If the exact file name is found then I want to take one type of action, and if it is not found then I want to a different action.
I can manage the other code pieces, I would like some help though from someone on how to read into a variable this exact match.
Please note:
I am using KiXtart v3.63 so I can not use any UDF or such from KiXtart 2001 and it needs to work on all Microsoft platforms.
Thanks in advance to anyone for help with this.