From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from msmail.insydesw.com.tw (ms.insydesw.com [211.75.113.220]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0EC8B81F42 for ; Thu, 1 Dec 2016 17:11:08 -0800 (PST) Received: from msmail.insydesw.com.tw ([fe80::74f7:f173:f4aa:9a05]) by msmail.insydesw.com.tw ([fe80::74f7:f173:f4aa:9a05%11]) with mapi id 14.01.0438.000; Fri, 2 Dec 2016 09:11:05 +0800 From: Tim Lewis To: "edk2-devel@lists.01.org" Thread-Topic: [shell] Redirection to environment variable used on command-line not working. Thread-Index: AdJMOJV6yd7GE5iHTw6wFcuDp3sxIQ== Date: Fri, 2 Dec 2016 01:11:03 +0000 Message-ID: <7236196A5DF6C040855A6D96F556A53F410B65@msmail.insydesw.com.tw> Accept-Language: en-US, zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.100.111] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: [shell] Redirection to environment variable used on command-line not working. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2016 01:11:08 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have a command like this: X %_key% >v _key and X %_key% _key These two commands should do, essentially the same thing, since the command= 'X' calls ShellSetEnvironmentVariable() if the 2nd parameter is present. Any thoughts? Tim