0

I used setx to deine my variable waOk

now in a new cmd i get

C:\Users\Jml>echo %waOk% ok

C:\Users\Jml>if %waOk% == "ok" (echo ok) else (echo non ok) non ok

why the "if" doesn't works ?

and if i write echo %waOk% in a bat file and start it i get nothing in my variable !

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.