ReadProfileString won't help you if the file is not a .INi file. In order to find a string in an arbitrary text file, you can use the shell FIND command or read the text file with READLINE and check every line whether it contains the workstation's name.
_________________________
There are two types of vessels, submarines and targets.