You are here

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

30 posts / 0 new
Last post
whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
How can I change the icon in the title bar of the Command Prompt ?

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.

Patrick Patience
Offline
Last seen: 4 years 6 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Yea

Quite open source. Go get the source form Other\Source\AppNamePortable.nsi and 'Compile' it with your new icon. Blum 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.

Simeon
Simeon's picture
Offline
Last seen: 9 years 9 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
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

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 4 months ago
Developer
Joined: 2007-09-20 21:34
there is no launcher...

it is just the actual program...

Please search before posting. ~Thanks

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
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

John T. Haller
John T. Haller's picture
Offline
Last seen: 11 hours 57 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
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!

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
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

John T. Haller
John T. Haller's picture
Offline
Last seen: 11 hours 57 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
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!

rab040ma
Offline
Last seen: 2 weeks 3 days ago
Joined: 2007-08-27 13:35
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

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
o

o

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 4 months ago
Developer
Joined: 2007-01-10 19:25
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

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
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

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2006-01-06 21:27
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."

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 4 months ago
Developer
Joined: 2007-01-10 19:25
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

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 4 months ago
Developer
Joined: 2007-09-20 21:34
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

Patrick Patience
Offline
Last seen: 4 years 6 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Lol,

Well technically, yes it is. Blum

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. Blum

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
That..

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

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 4 months ago
Developer
Joined: 2007-09-20 21:34
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

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
Please...

I want tips from specialists WHO LOVE TO HELP OTHERS.

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 4 months ago
Developer
Joined: 2007-09-20 21:34
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

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
I tried

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

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 4 months ago
Developer
Joined: 2007-09-20 21:34
for what

ninjacommand or cmd...

Please search before posting. ~Thanks

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
I worked..

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

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 4 months ago
Developer
Joined: 2007-09-20 21:34
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

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
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 ?

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 4 months ago
Developer
Joined: 2007-09-20 21:34
put that cmd into your portable apps folder

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

Please search before posting. ~Thanks

rab040ma
Offline
Last seen: 2 weeks 3 days ago
Joined: 2007-08-27 13:35
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

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 4 months ago
Developer
Joined: 2007-09-20 21:34
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

John Bentley
John Bentley's picture
Offline
Last seen: 14 years 11 months ago
Developer
Joined: 2006-01-24 13:26
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.'

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
Thanks for all

Thanks for all !!!

Log in or register to post comments