I've already found decision. indexOf() helps. But I can't understand where getEnvVar() takes value?! I thought it must be CurrentControlSet in registry...
Hi! I can get environment's variable's value by using getEnvVar(""). But I'm interesting in determing if it includes some substring. So if it does - execute one command, else another one. Is it possible or should I use extra scripts?