Hidden files and Directories

Milan Babuskov milanb at panonnet.net
Mon Feb 26 09:36:17 PST 2007


Lloyd wrote:
>  How can I make hidden directory and files  in Windows and Linux in
> order to store temporary files? (The user must not be able to traverse
> through the hidden directory when the application is running) 

On Linux, the folder is considered "hidden" if it's name starts with dot 
(.) character. Take a look at

wxStandardPaths::GetUserLocalDataDir

it will give you path to such directory (~/.appname). The directory that 
it returns for Windows (C:\Documents and Settings\username\Local 
Settings\Application Data\appname) is also hidden by default.

Please note that "power users" will easily change the settings to see 
the files.


-- 
Milan Babuskov
http://www.guacosoft.com
http://www.flamerobin.org





More information about the wx-users mailing list