Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » How to create a hidden folder?
Re: How to create a hidden folder? [message #60326 is a reply to message #60325] Thu, 30 November 2023 21:08 Go to previous message
Zbych is currently offline  Zbych
Messages: 327
Registered: July 2009
Senior Member
forlano wrote on Wed, 29 November 2023 22:41

SetFileAttributes(folder_name, FILE_ATTRIBUTE_HIDDEN);
On Windows 10 it works. I hope it works even for linux and MacOs.


This is WinAPI, it won't work in Linux.
Just add a dot at the beginning of the filename to hide it in Linux.
 
Read Message
Read Message
Read Message
Previous Topic: Default comparisons for type derived from Moveable
Next Topic: [FIXED] GLDraw,GLCtrl would be nice to work properly
Goto Forum:
  


Current Time: Mon Jul 07 05:13:47 CEST 2025

Total time taken to generate the page: 0.03256 seconds