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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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