expand %ENV%