I have just generated a .bat file. Can I change its icon image to that of any other application like Mozilla? My operating system is Windows 7.
Make an another copy (Send to > create shortcut) of this file then do this (Properties > Change icon) and then you are done!
Hi Rohan, There is a tiny application called "FileTypesMan" (File Types Manager), you can manage file types using this tool. It's a freeware and of course anyone can use it. This application is very small but very powerful. You can download it from this link: http://www.mediafire.com/?rt34v544v14fb0n
Once it's downloaded, Simply run the "FileTypesMan" (Run as Admin). The program will open up and it looks like a windows explorer or something similar. There are two sections on the main page, the top section contains all the Windows file types and the bottom section shows the details of a selected file type. In the top section, scroll down and locate ".bat", right-click it and select "Edit Selected File Type" (or simple press F2 on the keyboard). Edit File Type window will open up, now locate the browse button (----) on the left hand side of the "Default Icon" which is beside the "%SystemRoot%System32imageres.dll,-68", this will direct you to the Windows Icon Directory (change icon dialog box) from where you can choose your icon. If you have customized or specific icon you like to assign, click the "Browser" button in the "change icon" dialog box and locate it, select and then "Open" and "Ok". That's all.
Warning: Never Mess Around with other settings if you are not sure, any changes made in this program is directly effecting the Windows System Registry.
A couple of illustrated screenshots below (attached)
Hope this helps.
The easiest way is to move batch file to a different location and make a shortcut to it and change the shortcut's icon.
what do me changed shortcut extension with .LNk?
check out Aibek's answer to this question: //www.makeuseof.com/answers/change-fix-file-associations-windows-7/
You can download a free program called “Bat To Exe Converter” As you might guess, it converts the batch file into an exe. It allows you to choose an icon for your exe before compiling.It’s an awesome little tool.
You can download a free program called "Bat To Exe Converter" As you might guess, it converts the batch file into an exe. It allows you to choose an icon for your exe before compiling.
It's an awesome little tool.
MS-DOS batch files: as it is simply a text file with a special extension, a .bat file doesn't store an icon of its own.
You can, however, create a shortcut in the .lnk format that stores an icon
The icon displayed by the Shell (Explorer) for batch files is determined by the registry key
which, on my computer is
You can set this to any icon you like.This will however change the icons of all batch files (unless they have the extension .cmd).
or you could use bat to exe converter from here
and set the icon file in this program. this will convert your batch file to an executable
.bat >> .com >> .exe
bat to com use powerbatch
I believe the reasons why you can't assign icons to .bat files (or similar) is to prevent people from hiding suspicious code and tricking others into running such a file.
Since the default folder view of Windows hides known extensions the Icon is the only way to distinguish between e.g. a batch file with some malicious code and a programs executable.