Anyone recommend a free Bat to Exe converter that also alows setting the icon?
Tried a couple that are limited.
Thanks
New: Kanri (Oct 9, '24), Platform 29.5.3 (Jun 27, '24)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, Please donate today
To set the icon use resource hacker.
cowsay Moo
cowthink 'Dude, why are you staring at me.'
Yeah I have tried that but the two programs I have for making the exe are OK but reshacker doesn't work on the icon(??) Unless I am doing something else wrong. I have tried making icons using icofx
/*EDIT*/
The error I get is
'This file has a non-standard resoure layout... It has probably been compressed with an "EXE compressor"'.
/**********/
I use
Bach2exe converter & Batchcompiler
/**************/
Sorted!
http://www.hollmen.dk/articles/batch.htm
/**************/
I didn't check this, but there's a solution that should work. These converters have stubs they attach a bat to. Try to change the icon in the stub and then compile. How to find a stub?
1. You can try to extensions of all .bin and other unknown files to exe - You'll see an icon on the stub.
2. Take a look inside with hex editor - the stub will contain "This program cannot be run in DOS mode." string not far from it's begin.
3. Use TrID - a great tool to identify files by their content. The stub will be a win32 executable.
EDIT: I missed the fact that you gave the solution already :oops:
But the thing I said allows you to change the default icon.
The stub is not a separate file, it's built into the Batch Compiler's executable.
Steps:
1. Decompress BatchCompiler.exe with UnAspack.
2. With ResHacker (or a similar prog.)extract ID_1.exe from RawData resources.
3. Decompress it with UnAspack.
4. Change it's icon.
5. If you want to, compress it again.
6. Replace the old ID_1.exe with the new one.
7. If you want to, compress BatchCompiler.exe again.
2ozbodd:
Does the batch2exe work for you?
From what I see, it should generate smaller and MUCH faster executables, because it really compiles the exe, doesn't only wrap it's code to the stub. But it's not working here.
"Those people who think they know everything are a great annoyance to those of us who do." Asimov
No not for me either - Get invalid W32 applications all the time.