In linux I would go:

setenv -p MYVAR "somevalue"

But this doesn't seem to work in cygwin.

Edit
Report