Hi,
Lets start with useful information:
I need to create a hidden file for windows/linux using my c++ program.
The file will be created on a mp3 player (fat32 file system) and the name will be ".myFile", so the file will appear hidden on linux system (period before the name).
The problem:
Using windows I'm able to see this file, cause the "hidden" attribute is not set.
On Windows API there's a function to do that (CreateFile), then I was trying to find a compatible function to set the hidden attribute, but there's no success until now.
Could someone show me the way?
There's a program to change these attributes: mattrib
I will try (again) to find the source code, if someone knows where could I find it, please post here.
Thanks in advance.