www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <000701c1ad4c$8282e260$0200000a@dyn.ik.ca> |
From: | "Gerald Villemure" <GVillemure AT ik DOT ca> |
To: | <cygwin AT cygwin DOT com> |
References: | <014a01c1acc9$7324cc80$0100a8c0 AT advent02> <009f01c1ace4$41b7a580$0200000a AT dyn DOT ik DOT ca> |
Subject: | Re: /dev/registry |
Date: | Mon, 4 Feb 2002 08:21:05 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
> /proc/registry/* > > is a GREAT idea! > (*) P.S. "back then" somebody mentioned a few problems with file-system > access to registry entries: how do you deal with the various types -- > DWORD, BINARY, STRING, (and the other types that AREN'T accessible > via regedit...) Why not use a file name extention (vary microsoft like thing to do) First lets use standard Root key Name Abbreviations HKEY_CURRENT_USER HKCU HKEY_LOCAL_MACHINE HKLM HKEY_CLASSES_ROOT HKCR HKEY_USERS HKEY_USERS HKEY_CURRENT_CONFIG HKEY_CURRENT_CONFIG As for value data types, we could use: REG_SZ .sz REG_DWORD .dword REG_BINARY .binary REG_EXPAND_SZ .expand REG_MULTI_SZ .mutli So this: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] "WinVNC"="data goes here" would become: /proc/registry/HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Run/WinVNC.sz Good or bad idea? One more things to be carefull of, is the use of roming profiles.... HKCU can change. Gerald -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |