From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=180.169.121.92; helo=zxshcas02.zhaoxin.com; envelope-from=tigerliu@zhaoxin.com; receiver=edk2-devel@lists.01.org Received: from ZXSHCAS02.zhaoxin.com (unknown [180.169.121.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A3B2C2034EE25 for ; Sun, 5 Nov 2017 17:35:59 -0800 (PST) Received: from ZXBJCAS01.zhaoxin.com (10.29.252.3) by ZXSHCAS02.zhaoxin.com (10.28.252.4) with Microsoft SMTP Server (TLS) id 14.3.279.2; Mon, 6 Nov 2017 09:39:35 +0800 Received: from ZXBJMBX01.zhaoxin.com ([fe80::9c2b:e4e8:b7de:a5de]) by ZXBJCAS01.zhaoxin.com ([::1]) with mapi id 14.03.0279.002; Mon, 6 Nov 2017 09:39:37 +0800 From: Tiger Liu To: "Jarlstrom, Laurie" , "Jim.Dailey@dell.com" CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] how to create environmental variable for Shell Thread-Index: AdNWn//YvOcZ2AhtSVGdbW3pc4D9DA== Date: Mon, 6 Nov 2017 01:39:43 +0000 Message-ID: <1E4DA6F54C53C24B98E8E8D172B945AF02BA551A@ZXBJMBX01.zhaoxin.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.29.8.4] MIME-Version: 1.0 Subject: Re: how to create environmental variable for Shell X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 01:36:01 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGksIExhdXJpZToNCkdvdCBpdCENClRoYW5rcyBhIGxvdCENCg0KSSBqdXN0IHdhb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CBjb250YWlucyBjb25maWRlbnRpYWwgb3IgbGVnYWxseSBwcml2aWxlZ2VkIGlu Zm9ybWF0aW9uIGFuZCBpcyBmb3IgdGhlIHNvbGUgdXNlIG9mIGl0cyBpbnRlbmRlZCByZWNpcGll bnQuIEFueSB1bmF1dGhvcml6ZWQgcmV2aWV3LCB1c2UsIGNvcHlpbmcgb3IgZm9yd2FyZGluZyBv ZiB0aGlzIGVtYWlsIG9yIHRoZSBjb250ZW50IG9mIHRoaXMgZW1haWwgaXMgc3RyaWN0bHkgcHJv aGliaXRlZC4NCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f DQplZGsyLWRldmVsIG1haWxpbmcgbGlzdA0KZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCmh0dHBz Oi8vbGlzdHMuMDEub3JnL21haWxtYW4vbGlzdGluZm8vZWRrMi1kZXZlbA0KX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCmVkazItZGV2ZWwgbWFpbGluZyBs aXN0DQplZGsyLWRldmVsQGxpc3RzLjAxLm9yZw0KaHR0cHM6Ly9saXN0cy4wMS5vcmcvbWFpbG1h bi9saXN0aW5mby9lZGsyLWRldmVsDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fXw0KZWRrMi1kZXZlbCBtYWlsaW5nIGxpc3QNCmVkazItZGV2ZWxAbGlzdHMu MDEub3JnDQpodHRwczovL2xpc3RzLjAxLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2VkazItZGV2ZWwN Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQplZGsyLWRl dmVsIG1haWxpbmcgbGlzdA0KZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCmh0dHBzOi8vbGlzdHMu MDEub3JnL21haWxtYW4vbGlzdGluZm8vZWRrMi1kZXZlbA0KDQoNCuS/neWvhuWjsOaYju+8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