Why can't you hide the extension of all files?

Hello! Why can't you hide the extension of all files?

Setting in finder doesn't help. Hiding the extension for a separate file does not help and it takes a very long time.

MacBook Pro 13″, macOS 10.15

Posted on Jul 26, 2023 10:19 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 26, 2023 10:34 AM

Go to Finder > Settings > Advanced > Show all filename extensions. Uncheck this option.

7 replies

Jul 26, 2023 11:04 AM in response to Ilya_Krasheninnikov

Ensure that you have the following set in Finder Preferences : Advanced:



Open a new Finder window in your home directory. In the search field of that Finder Window, enter the following:


kind:word


You will receive a updated window with just Word .docx and .doc files. Press cmd+A to select these, and then run the following AppleScript to toggle selected file extensions on or off.


use scripting additions

tell application "Finder"
	if (get selection) is {} then return
	repeat with f in selection as list
		if f's extension hidden is true then
			set f's extension hidden to false
		else if f's extension hidden is false then
			set f's extension hidden to true
		end if
	end repeat
end tell
return


Open Apple's Script Editor from Dock : Launchpad : Other. Set the location to your Desktop, and copy/paste the preceding AppleScript code in it. Save as a script bundle or app on your desktop and then double-click to run it.


AppleScript because the Finder Get Info panel won't let you hide the extension on multiple selected items.

Sep 24, 2023 3:53 AM in response to Ilya_Krasheninnikov

I'm sure that in an previous masOS, the Finder settings for show and hide extensions were universal for both. You could then change the setting on individual files, should you wish.


Which seems logical to me - other Finder settings are universal …


The reason I'm sure is that I was never previously by by file extensions being visible - I am now ! I think this change happened with the release of Ventura …

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.

Why can't you hide the extension of all files?

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