The command to rename the recycling bin to take affect you must refresh the desktop
Code:
Gui, Show, x159 y108 h144 w477, New GUI Window
Gui, Add, Edit, x216 y30 w220 h20 vMyEdit,
Gui, Add, Text, x6 y30 w210 h20 , Enter a name to replace the old one>>
Gui, Add, Button, x26 y80 w190 h20 gRRBN, Replace Recycling Bins Name
Gui, Add, Button, x226 y80 w190 h20 gRMYN, Replace My Documents Name
Gui, Add, Button, x26 y100 w190 h20 gRRBN2D, Restor to defalt
Gui, Add, Button, x226 y100 w190 h20 gRMDN2D, Restor to defalt
; Generated using SmartGUI Creator 4.0
Return
RRBN:
GuiControlGet, w00tvar,, MyEdit
RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\microsoft\windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}, ,%w00tvar%
return
RMYN:
GuiControlGet, w00tvar,, MyEdit
RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}, ,%w00tvar%
return
RRBN2D:
RegDelete, HKEY_CURRENT_USER, Software\microsoft\windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}, AHK_DEFAULT
return
RMDN2D:
RegDelete, HKEY_CURRENT_USER, Software\microsoft\windows\CurrentVersion\Explorer\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}, AHK_DEFAULT
return
GuiClose:
ExitApp
It uses the registry but it should work on other versions of windows just back it up first if you don't know