----Original Message---- >From: Christopher Faylor >Sent: 21 April 2005 19:23
> On Thu, Apr 21, 2005 at 06:59:11PM +0100, Dave Korn wrote: >> ----Original Message---- >>> From: Eric Blake >>> Sent: 21 April 2005 18:40 >> >>> Contrary to your statement, /proc/registry/HKEY_CLASSES_ROOT/*/ is a >>> valid directory name (but you sure have to be careful with shell quoting >>> to actually get there). >> >> >> Only on a managed mount. You simply cannot create a filename with a * >> in it under windows, no matter how carefully you quote it (read 'even if >> you pass a string with a * in it to CreateFile). > > The whole /proc filesystem is an invention. There is no managed about it. > There is no reason that I can think of why windows limitations should > apply to it. D'oh, yes, of course. Right problem, wrong context. > But, as usual, this speculation about what could possibly be going wrong > is easily solved by just refraining from treating cygwin as a black box > and looking at the sources. Well, that was my next step, but I'm off home for the evening. [EMAIL PROTECTED] /artimi> cd /proc/registry [EMAIL PROTECTED] /proc/registry> cd HKEY_CLASSES_ROOT/ [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT> cd \* [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/*> ls AlwaysShowExt InfoTip OpenWithList QuickTip TileInfo shellex [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/*> cd InfoTip bash: cd: InfoTip: Not a directory [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/*> cd QuickTip bash: cd: QuickTip: Not a directory [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/*> [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/*> cd .. [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT> cd .386/ [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/.386> cd [TAB-TAB] @ PerceivedType PersistentHandler [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/.386> cd PersistentHandler/ [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/.386/PersistentHandler> ls @ [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/.386/PersistentHandler> cat @ {098f2470-bae0-11cd-b579-08002b30bfeb} [EMAIL PROTECTED] /proc/registry/HKEY_CLASSES_ROOT/ It does look as if there's a dll bug preventing it from changing into subdirs when there's an asterisk in the path. Dunno why it doesn't go on to iterate the rest of the /proc tree, although if you try "find /proc -xdev" it does enumerate more of the top-level. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/