Mail Archives: cygwin/2002/12/09/16:16:43
On Mon, 9 Dec 2002, Ken Robson wrote:
> Hi Folks,
>
> I have been using cygwin for some time and have recently being playing with
> the /proc/registry facility. I have discovered that when I do finds in this
> namespace that if any key names have a "/" in then it is not quoted. So for
> example:
>
> [snip example and registry data]
>
> I apologise that I do not have sufficient knowledge of cygwin to fix this
> myself.
>
> Thanks for your time and help.
>
> Kind regards,
> Ken.
Ken,
The fact that "/" is a valid character in key/value names in the registry,
but is not a valid character in filenames (in either Windows or Unix)
makes this more of a design issue. No amount of quoting will let you
create a file with a '/' in its name.
In the meantime, check out /bin/regtool which allows arbitrary characters
in both key and value names (and a -K switch to set a custom separator).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51
--
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/
- Raw text -