webxt Posted October 30, 2007 Share Posted October 30, 2007 (edited) Hi guys! How can I rename files like recycle bin or my computer ? For other files, I know, with File move() but in this situation ? LE: Windows XP Regards, webxt Edited October 30, 2007 by webxt Link to comment Share on other sites More sharing options...
Kurtferro Posted October 30, 2007 Share Posted October 30, 2007 in windws xp or vista? Link to comment Share on other sites More sharing options...
Kurtferro Posted October 30, 2007 Share Posted October 30, 2007 and what mean, do u rename file with FileMove()? Link to comment Share on other sites More sharing options...
webxt Posted October 30, 2007 Author Share Posted October 30, 2007 Yes, something like this FileMove ( "C:\1.txt", "C:\2.txt" ) Do you know other method ? Link to comment Share on other sites More sharing options...
Kurtferro Posted October 30, 2007 Share Posted October 30, 2007 for rename standard icons like recycle and my comp its required enable it in windows registry: [HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder] "Attributes"=hex:70,01,00,20 "CallForAttributes"=dword:00000000 i dont know other system but u must to restat the machine after. Link to comment Share on other sites More sharing options...
Kurtferro Posted October 30, 2007 Share Posted October 30, 2007 (edited) maybe u can try with FileSetAttrib maybe filemove dont work if the file is "R" = READONLY or "S" = SYSTEM, check with FileGetAttrib on recycle bin and try to set like a normal file. Edited October 30, 2007 by Kurtferro Link to comment Share on other sites More sharing options...
webxt Posted October 30, 2007 Author Share Posted October 30, 2007 Ok, thank you. I will try to figured out.. any other methods ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now