Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a command line utility to change the embedded Icon of a win32 exe? [duplicate]

Tags:

windows

icons

...id like something I could integrate into my build process: is there anything "standard" tool that does this?

like image 787
jkp Avatar asked Jul 30 '09 17:07

jkp


People also ask

How do I change the icon for an EXE file?

Now you'll see a shortcut to the EXE file on your desktop. Right-click the shortcut and select Properties. This opens a dialog window containing several tabs, including one called Shortcut. Click the Change Icon…

How do you change icons on resource hacker?

In the Resource Hacker window, select the “Icon” folder in the left pane. Click the “Action” menu and then select “Replace Icon.” In the Replace Icon window, click the “Open file with new icon” button and browse to the location of the icon you want to use. The source can be an EXE, DLL, RES, or ICO file.

What are commandline switches?

A command-line switch is a modifier that is added to the .exe file. A startup file with a switch looks like this. outlook.exe /nopreview. In this example, a command-line switch has been added to the .exe file for Microsoft Outlook.

How do I run an EXE from command line arguments?

For example, entering C:\abc.exe /W /F on a command line would run a program called abc.exe and pass two command line arguments to it: /W and /F.


1 Answers

Have you seen Resource Hacker? You can also drive it via the command line (script) so I'm sure it could be incorporated into your build.

like image 131
Alan Avatar answered Sep 28 '22 13:09

Alan