Script to set "Hide file extensions"

Posted by Ickster on Super User See other posts from Super User or by Ickster
Published on 2013-10-29T13:57:04Z Indexed on 2013/10/29 16:00 UTC
Read the original article Hit count: 244

I'm tired of the multi-step process to set my preferred folder options on every server to which I log on (Mostly Win2008, but also some 2012 and Win7 here and there). I'd love to be able to script the process, but unfortunately, I can't find any commands or extensions to do so for folder options.

There are several settings I'd like to change, but in particular, I'd like to set "Hide file extensions for known file types" to false. I figure that if I can do that, I'll be able to manage any additional settings on my own.

Methods that work on the vanilla command line would be preferred, but if there are commands in PowerShell, I'll use that.

© Super User or respective owner

Related posts about Windows

Related posts about command-line