View Full Version : Rename Drives
bobm5
05-15-2001, 11:41 AM
Hi,
Does anyone know how to make Win98 able to rename drives directly from explorer, like in WinMe. Not just the drive label, but what explorer calls the drive itself. In Winme you just right click, then say rename.
I mainly want this, so i can rename my drive E, which is a zip drive, from "Removable Disk" to "Zip" or something like that. If you can't make it do it directly from explorer, then just manually editing the registry very time would be fine.
Thanks
Bob
RWSchlatter
05-15-2001, 04:29 PM
check my response in a previous thread at:
<a target="_blank" href=http://forums.winguides.com/showthreaded.php?Cat=&Board=brdQuestions&Number=15550&Search=true&Forum=All_Forums&Words=RWSchlatter&Match=Username&Searchpage=2&Limit=25&Old=allposts&Main=15438>http://forums.winguides.com/showthreaded.php?Cat=&Board=brdQuestions&Number=15550&Search=true&Forum=All_Forums&Words=RWSchlatter&Match=Username&Searchpage=2&Limit=25&Old=allposts&Main=15438</a>
______________
Regards - Richard
bobm5
05-16-2001, 08:20 AM
Hi,
Thanks for the reply.
I tried that, the DefaultIcon changes the icon right away. But when i use the DefaultLabel part, it still calls it Removable Disk.
I'm not sure how to call SHUpdateImage. I didn't have to do that for the icon though. Do i have to do anything else to it?
Shell32.dll is version 4.72.3110.6
Thanks
Bob
<P ID="edit"><FONT class="small">Edited by bobm5 on 05/16/01 03:23.</FONT></P>
RWSchlatter
05-16-2001, 07:42 PM
"...I'm not sure how to call SHUpdateImage..."
if you entered the items interactively using Regedit, then there is no such call, but to activate, logout and login again, or reboot. The call, that's if you had writen a program, stored the items that way into the registry and then wanted to activate immediatly. J believe, that if you had put tha data into a .REG file for loading, then Regedit makes the call.
"...I didn't have to do that for the icon though..."
There is no given rule as to when programs fetch information from the registry. With SHUpdateImage an update does get signalled to trigger such an action.
"...Shell32.dll is version ..."
The text was copied from the current shell API of Microsofts online documentation, so it would be directed for the current shell version. Feature is marked valid for shell as of 4.71.
Original article to be found at:
<a target="_blank" href=http://msdn.microsoft.com/library/psdk/shellcc/shell/Shell_basics/icon.htm>http://msdn.microsoft.com/library/psdk/shellcc/shell/Shell_basics/icon.htm</a>
______________
Regards - Richard
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.