add bat for refresh environment variable 20141013