扩展名显示与隐藏
View Code
1 @echo off 2 reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t reg_dword /d 1 /f
隐藏扩展名
View Code
1 @echo off 2 reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t reg_dword /d 0 /f
显示扩展名
出处:http://cnblogs.com/daishuguang