getting rid of .DS_STORE file on desktop?

Associate
Joined
7 Oct 2003
Posts
572
i have a new MacBook and the above file keeps appearing on the desktop, every time i delete it it comes back again.
i have recently been using an external HD on the MB. could this be causing it?

how do i get rid of the file?
 
Commissario
Joined
16 Oct 2002
Posts
2,830
Location
In the radio shack
Open a terminal window and type the following (case sensitive):

Code:
defaults write com.apple.finder AppleShowAllFiles OFF

killall Finder

You've set it to show hidden files somehow, this will correct that.
 
Associate
OP
Joined
7 Oct 2003
Posts
572
Open a terminal window and type the following (case sensitive):

Code:
defaults write com.apple.finder AppleShowAllFiles OFF

killall Finder

You've set it to show hidden files somehow, this will correct
that.


how do i hide these files from view?
 
Commissario
Joined
16 Oct 2002
Posts
2,830
Location
In the radio shack
Try this, Mark.

Code:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true

adscan, have you done the terminal commands posted previously and they're still appearing?
 
Associate
OP
Joined
7 Oct 2003
Posts
572
Try this, Mark.

Code:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true

adscan, have you done the terminal commands posted previously and they're still appearing?

yes done those commands. work fine and then a few days later they appear again.
very annoying.
 
Associate
Joined
14 May 2009
Posts
2,298
Ouch, that seems like Apple's answer to RegEdit ;) So where's the recommended reading to go learn about these intuitive commands?
 
Back
Top Bottom