delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/05/01:06:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=Wt45lkfRpbMt9Wk/25/sp3ZcpCGdL+SbzRJq0JKCPgpbXejV8pxF+
+Jrw5ulnok4+Gx9fAyeu2QAFKy2ms2wMuQMM+6aRDWlCP3Q2YN4NuQWyNtq4INVc
7yBjbu8rHLGX6Vl/EnmFlal9AFymb0G7h75uvoGhoxVEVJ5zoHIrfw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:mime-version:content-type:content-transfer-encoding; s=default;
bh=jhT6WpjNbSiq44I9B9rB7c9DKuk=; b=tVhxDnXscScvQ8nijZGoBHTAjH0y
9nvPC8AjDIiPJNgJTd/67tQYUapa8CjC1WQKrTi0oWhDUmAQpHDlnqfssPcI+hqs
X6RIem6pYsljjE3QrPXncfz4kdKJrxsA3JvAzHLObDcZX6swlXfQcsxPp85lwaMG
o92+0wmgI0S/qs8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.1 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_THEBAT,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 5 Nov 2013 09:57:23 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <010002768.20131105095723@mtu-net.ru>
To: All <cygwin AT cygwin DOT com>
Subject: Is there a way to acess expanded value of REG_EXPAND_SZ ?
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, All!

Started to write scripts, that rely on registry, and hit a nail right off the
bat. I need to access expanded value of REG_EXPAND_SZ type.
Reading documentation doesn't help.
Is this possible?
Or should I go through a loop of calling cmd.exe to manually expand variables?


-- 
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 05.11.2013, <09:44>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019