Hide certain files automatically

Maarten Vlug 1 Reputation point
2022-01-27T09:35:29.56+00:00

Hi there,

Is there a way to automatically hide certain files automatically in Windows 10? I work with a 3D program (solid Edge) and it generates config files that are useless to have in the folder. So I have unnecessary files in the folder which can make the overview difficult. Now I manually hide them, but it would be great if it could be done automatically.
I saw a post that it is not possible, but that was in 2012, so maybe this option is available now?

Thanks!

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,422 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,164 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. IoTGirl 2,976 Reputation points Microsoft Employee
    2022-01-27T19:36:18.487+00:00

    Hi Martin,

    Windows-Maps Supports Microsoft.com/maps APIs. I am rerouting this to the windows folks but if you are not a developer, you might want to ask on Answers.Microsoft.com. If these files are of a standard config extension, they would be hidden automatically so if you are the creator of the App, maybe you can name the files so that they would be hidden unless "Unhide" system files is chosen?

    Sincerely,
    IoTGirl

    0 comments No comments

  2. Jeanine Zhang-MSFT 9,181 Reputation points Microsoft Vendor
    2022-01-28T01:41:35.663+00:00

    Hi,

    Welcome to Microsoft Q&A!

    If you want to automatically hide certain files through win32 programs,as far as I'm concerned you are looking for the GetFileAttributesEx, GetFileAttributes and SetFileAttributes methods in the Win32 API.

    Best Regards,

    Jeanine


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.