https://bugs.winehq.org/show_bug.cgi?id=52732
--- Comment #12 from Rafał Mużyło galtgendo@o2.pl --- ...actually doing it piecewise might be tedious, so simply run 'set' in 'wine cmd' - that will give all environment vars; Some will be duplicated from shell (at least they *should* be), other will be Windows specific.
This should show if the environment isn't getting corrupted upon going into wine.