'Rename the Recycle Bin

Dim WshShell, ObjShell, wS, sRead, sW, pM, sMsg, sInput  

Set WshShell = WScript.CreateObject("WScript.Shell")

If WScript.Arguments.length = 0 Then
Set ObjShell = CreateObject("Shell.Application")
ObjShell.ShellExecute "wscript.exe", """" & _
WScript.ScriptFullName & """" & " uac","", "runas", 1
Else

sMsg = "This script will Rename the Recycle Bin." & vbCr & vbCr _
& "If you do not trust the source of this information, do not add it to the registry."  & vbCr  & vbCr _ 
& "Would you like to continue?"

sInput = MsgBox(sMsg, vbYesNo + vbInformation, "Paul's XP, Vista and Windows 7 Tweaks")
If sInput = vbYes Then 

sRead = "HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\"

sW = WshShell.RegRead(sRead & "LocalizedString")
wS = "Change the name of The Recycle Bin"
pM = InputBox("Type in the new name for the Recycle Bin.", wS, sW)
If pM <> "" Then
WshShell.RegWrite sRead & "LocalizedString", pM

Message = "Recycle Bin has been Renamed!" & vbCr & vbCr _
 & "This script was downloaded from www.paulsxp.com." 
MsgBox Message, 64, "Paul's XP, Vista and Windows 7 Tweaks"
End If
End If
End If
