Jump to content

Recommended Posts

Posted

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?


Posted (edited)

I've already found decision. indexOf() helps.

But I can't understand where getEnvVar() takes value?!

I thought it must be CurrentControlSet in registry...

Edited by Igreh

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...