http://bugs.winehq.org/show_bug.cgi?id=9158
Luke Benstead kazade@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kazade@gmail.com
--- Comment #18 from Luke Benstead kazade@gmail.com 2009-03-17 08:31:41 --- 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.