I was wondering how I can have a persistent variable using batch, to be deployed in an environment where I can't install extra software without significant overhead.
I want to detect if it is the first time opened. If it was, it would set the variable to First and then run a set line of code, then it would change the variable to Opened. Is there any way I can try to do this, or is it not possible?