http://bugs.winehq.org/show_bug.cgi?id=9158
Sjors Gielen dazjorz@dazjorz.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dazjorz@dazjorz.com
--- Comment #19 from Sjors Gielen dazjorz@dazjorz.com 2009-05-24 13:39:23 --- (In reply to comment #18)
I've been thinking about how to handle FILE_ATTRIBUTE_HIDDEN in Wine. In Nautilus (and probably other file managers) you can hide files by creating a file called ".hidden" and listing the names of the files you wish to hide.
Once possible proper fix for this bug (aside from the workaround posted) is to alter create_file (server/file.c) to add an entry to a .hidden file in the destination directory when a file is created with FILE_ATTRIBUTE_HIDDEN set. Then FindFirstFile/FindNextFile could check this file (if it exists) and ignore any files listed.
This should give the behaviour needed without having to rename the files so they are prefixed with a dot.
As far as I can see, '$shtdwn$.reg' is not prefixed with a dot or anything, so that can't be the problem here... Right?