Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unchecking "Hide file extension" in Folder Option via vbs?

Status
Not open for further replies.

veenma

Technical User
Jan 31, 2003
9
0
0
CH
Hi all,
Sorry to disturb, is there a way of unchecking the checkBox
"Hide File Extensions for known file types" in the folder Option via a vbs script?

Thanx in advance
 
Try this:
Code:
k="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt"
Set Sh=WScript.CreateObject("WScript.Shell")
Sh.RegWrite k,0,"REG_DWORD"

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top