I want to be able to parse a variable %computername%. I want to evaluate the three leftmost characters. If they equal "EMS" I want to goto "something". How do I do this? I have spent the whole morning trying to find a simple solution and so far have none.