An error occurred while adding the Custom button to the Resource Manager :(

Source: Internet
Author: User

Today, I suddenly want to add a toggle to the resource manager to set hidden files and folders. The script for implementing the function was quickly written, but Google did not find a simple way to add custom buttons to the resource manager for a long time. I mistakenly thought it was okay, but it was a custom button added to IE.

The successful result of subfolder is to study a uuid. Download and use jug.

In fact, you only need to press the folder option twice. Or you can use shortcuts to Increase the number. Give up.

The script hidden-toggle.js is as follows:

// Hidden toggle V1.0 // (Folder Hidden setting of Explorer) // By Hax, 2004-8-25 // URI: http://hax.uri.cn/util/hidden-toggle// UUID: dedef6b4-5300-3780-a8c5-0848a1648b04 // (generated by jug: java-CP jug. jar Org. doomdark. UUID. jug //-s URL-N http://hax.uri.cn/util/hidden-toggle N) var wshshell = wscript. createobject ("wscript. shell "); var Reg =" HKEY_CURRENT_USER // software // Microsoft // windows // CurrentVersion // explorer // advanced // hidden "; var showall = 1, nohidden = 2; var key = wshshell. regread (REG); If (Key = showall) wshshell. regwrite (Reg, nohidden, "REG_DWORD"); else if (Key = nohidden) wshshell. regwrite (Reg, showall, "REG_DWORD ");

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.