Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

How can I change the icon in the title bar of the Command Prompt ?

whibo's picture
whibo - December 16, 2007 - 11:45am

I modified Command Prompt Portable with NSIS and Batch files but now
the Command Prompt icon left in the title bar : http://img218.imageshack.us/img218/1217/bnol7.jpg
And I want an icon like that in the title bar: http://img218.imageshack.us/img218/618/niwi3.jpg
How can I change the icon in the title bar ?
(What codes, applications have I to use ?)
Problem resolved.


( categories: )

Yea

Quite open source. Go get the source form Other\Source\AppNamePortable.nsi and 'Compile' it with your new icon. Sticking out tongue This is usually a saving problem with ResHack and others. You need to save it as newfile.exe. And I don't know if hacking the launchers works.

hacking the launchers

wont work.
They have a crc check so if you change something for example with res hack it gives you an error.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

there is no launcher...

it is just the actual program...

Please search before posting. ~Thanks

Thanks for your help but there is another problem...

I changed the icon of Command Prompt Portable with the Nsis technic but I can't change the icon in the title bar of the programm: http://img218.imageshack.us/my.php?image=bnol7.jpg

Built In

It's the Windows Command Prompt. It's built in. You can't change it.

Sometimes, the impossible can become possible, if you're awesome!

But another programm.

Another programm in the beta forum called NinjaCommandPortable have a notepad icon there. How can I do the same? http://img218.imageshack.us/img218/618/niwi3.jpg

Custom C

It's custom written in C and not supported by PortableApps.com (and illegally using Microsoft's notepad icon).

Sometimes, the impossible can become possible, if you're awesome!

Well, they claimed they

Well, they claimed they found an icon that wasn't from Notepad but looked kind of like it, and had no other restrictions. I think they were making an effort. If you know for sure that the one they have violates Microsoft's rights, they'd probably be happy to look for another.

MC

o

o

Notepad 2

Probably Notepad 2's icon. If you search the forums, you can find that Notepad 2 is made portable by Thibeaz.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

I don't want an icon

I have an icon, I just want to know how to put the icon in the title bar of the Command Promp Portable

Read above.

It's not Command Prompt Portable's icon, it's the command prompt itself.

"If you're not part of the solution, you're part of the precipitate."

Response to rab040ma and

Response to rab040ma and John's conversation about the icon for NinjaCommand Portable.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

that icon was not microsoft's

well not technically, it was the icon i found online then i changed the binding to green and the colors are slightly different...

Please search before posting. ~Thanks

Lol,

Well technically, yes it is. Sticking out tongue

Just because you found it on the internet, and the colours are slightly different, doesn't mean it's not theres. Just as well, if someone created that one from scratch to look almost like MS's, they could still be infringing on MS's original design. Sticking out tongue

That..

That don't help me. But if you want to laugh, go to my other topic: http://portableapps.com/node/10573

well not that it matters

it wont be supported by PortableApps anyway Sad ...
so i have no reason to change it...

Please search before posting. ~Thanks

Please...

I want tips from specialists WHO LOVE TO HELP OTHERS.

try hacking it...

download reshacker then try and hack cmd.exe
then change the batch file to launch your version instead...
i am not sure if that will work though
or download NinjaCommandPromptPortable and hack that...
that will work cause that is how i did that...
hope that helps

Please search before posting. ~Thanks

I tried

I tried ressource hacker and XNRE but when I save the .exe don't open.

for what

ninjacommand or cmd...

Please search before posting. ~Thanks

I worked..

I'm trying to modify Portable Command Promp all the time. Ninja command is only a source of inspiration.

you cant hack the laucher

you have to hack the actual cmd
go to cmd and type in
explorer %comspec%
then hack that

Please search before posting. ~Thanks

If I hack that..

Then if I try to go with my modified portable command promp on another computer, the icon will not be in the title bar I think ?

put that cmd into your portable apps folder

into the apps folder and change the batch files...

Please search before posting. ~Thanks

We wouldn't talk on this

We wouldn't talk on this site about making a version of cmd.exe with the icon resources changed, and taking a copy of it with you to use on other computers. Even if it worked on all computers you came to, we would probably not want to seem to be advocating that sort of thing.

MC

sorry

i was saying that as a way of helping...
if i was out of line i am truly sorry

Please search before posting. ~Thanks

All you have to do is write

All you have to do is write a simple C++ program that calls system("%comspec%");

cowsay Moo
cowthink 'Dude, why are you staring at me.'

Thanks for all

Thanks for all !!!