I'm just a starter in command line applications. I want to know how I can be able to pass environment variables to a php script running in the command line on windows 7 machine.
I want to do something similar to this:
QUEUE=notification VVERBOSE=1 php resque.php
Thank you for help..!
I finally got this working.
On Unix systems you can set the environment variables on the same line invoking the script.
But for windows Os, you need to first set the environment variable like this
Then you invoke the script
Thank you to all who contributed...!