Renaming Recycle Bin

This Code sample Will Help you to Rename Recyle Bin From an .net Application.

Note This is a VB.net Code Snippet


In this example, we use the windows registry and access the Recycle bin's keys in it. To re-name, just change the value of "Loacalized String"


Console.Write("Rename Recyle Bin to : ")
nname = Console.ReadLine()
Registry.ClassesRoot.OpenSubKey("CLSID\{645FF040-5081-101B-9F08-00AA002F954E}", True).SetValue("LocalizedString", nname)
Console.WriteLine("Recycle Bin Renamed Successfully !!" & vbNewLine & "Refresh Windows to See the Changes")
Console.Write("Press Any Key To Continue :}")
Console.ReadKey()


Attachments

  • Download The Source Codes Related To this Application (19979-311034-RecycleBinRenamer.rar)
  • Comments

    No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: