Tuesday, September 27, 2016

Make a Portable Icon for batch files bat is Impossible!

Make a Portable Icon for batch files bat is Impossible!


Contoh Batch File, Sumber
Well, after searching for a lot, I didnt get any satisfying answers. Haha!

But, there are many information I got from Google. Some of them are:
http://forums.techguy.org/tech-tips-tricks/921404-how-make-portable-shortcuts-flash.html

http://www.softwaretipsandtricks.com/forum/windows-xp/32604-creating-relative-shortcut-flash-drive.html

http://stackoverflow.com/questions/15423/how-to-change-the-icon-of-bat-file-programatically

What I need here is to make a .bat file used in CD. So, I thought it would be beautiful if I could change the icon. I want to create an portable .bat file with the icon embedded. But, unfortunately, .bat file doesnt have any protocol/syntax to store the image icon.

The convensional icon used in windows for the .bat files is implemented by .exe program in windows and .dll file. Both of them are linked by a .lnk file.

Huiiiffhhh..


Available link for download