How to get rid of .Ds_Store file. Please help!

My MacBook Air can't get rid of .Ds_Store file at my desktop screen, although I repeatedly deleted it. I think this is related to virus or malware. Please help me solve the problem.

Thank You.

Posted on Jun 1, 2016 8:57 AM

Reply
10 replies

Jun 1, 2016 11:13 AM in response to charliemaung

There is an invisible ds_store file in every folder on your Mac, Desktop is just a folder like the rest. Sometimes the invisibly can get toggled off. You can fix that by launching Terminal from your Utilities folder and then copy/paste this command at the prompt:

defaults write com.apple.finder AppleShowAllFiles False && killall Finder

Press Return

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to get rid of .Ds_Store file. Please help!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.