The archive will run the batch file, which runs the program. The batch file will be turned into an EXE file that will load the original EXE file when it is run.
Click the Compile button to create your new file. You will be able to browse for the icon file that contains your new icon.Ĭompile the new EXE file. This is typically located in the “Version information” section. Use the converter program to load in the new icon. This process will vary depending on the converter you use.Īdd the new icon. Browse for the EXE file that your batch file will be replacing. I have a program with no icon and it's been bugging me and want to change it's icon to my own. Click the Include tab and then click the Add button. Right click the Icon node in the file explorer window and choose the Add Resource. Open the setup.exe file use just build, File -> Open -> File. In the Options section, ensure that “Invisible application” is checked.Īdd your EXE file. Hi celobateira, You can use Visual Studio to change the setup.exe icon. Open your batch file in the converter program. Most Batch/BAT to EXE converters are free to download. These programs will convert your file into an EXE file, which will allow for custom icons. After you are finished with this guide, you can recheck the box to hide your extensions again.ĭownload a Batch to EXE converter. This will show extensions for all of your files. In the Folder Options box, click the View tab and then uncheck the “Hide extensions for known types” box. If the extensions are not visible, click the View menu/tab and select Options. Close Notepad once you have saved it.Ĭhange the extension for TXT to BAT. For example, you might name it “Launcher” because it will launch the program. Name the text file to a name that will help you remember what the file does. Replace with the exact name of the EXE file whose icon you want to change.Enter the following code into the text file: You will be able to set an icon for this file, allowing you to customize it. You will be creating a file that will load the EXE file automatically. Open the file in Notepad.Įnter in the command to load the EXE file. Right-click and select “New” and then “Text Document”. It will typically be located in the folder that you installed the program to, though it may also be wherever you placed it when you downloaded the file.Ĭreate a new text file in that location. Open the location of the EXE file that you want to change.
How to put a Custom Icon on an Executable File: Use a Batch File and Bat to Exe Converter