If ($SourceEXEFilePath.ToLower().Contains(". If anyone has a better method that works similarly but obtains higher quality icons then I'd be interested to hear about it. Icon index #5 was at the top of column two on my Windows 7 圆4 machine. NB: Index #2 is beneath #1 and not to its right. Find the icon you wish to use and work out its index. ![]() Paste in path C:\Windows\System32\shell32.dll and click OK. Then right-click the new shortcut and select Properties then click 'Change Icon' button in the Shortcut tab. I discovered the icon index that I needed was #238 by trial and error by temporarily creating a new shortcut (right-click on your desktop and select New -> Shortcut and type in calc and press Enter twice). ![]() The parameters I entered were (the source DLL path, target icon file name and the icon index within the DLL file): ![]() Shell32.dll also enables a number of operations that are a vital part of 'Microsoft Windows. It is also necessary in order to open web pages and files in the operating system. I needed to extract icon #238 from shell32.dll and didn't want to download Visual Studio or Resourcehacker, so I found a couple of PowerShell scripts from Technet (thanks John Grenfell and to # ) that did something similar and created a new script (below) to suit my needs. The shell32.dll is a necessary part of 'Microsoft Windows' operating system, it helps maintain a stability in the operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |