MSFN Forum: "Styled" Command Prompt - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

"Styled" Command Prompt Rate Topic: -----

#1 User is offline   tosk 

  • Newbie
  • Group: Members
  • Posts: 45
  • Joined: 30-September 03

Posted 31 July 2004 - 03:45 PM

Does anyone know if it's possible to extend visual styles to the console window, that is to say, the command prompt? I know it can be done with WindowBlinds, but I don't like the overhead incurred by WB. What I wanted to know is if it could be done without using any 3rd party skinning/styling apps.


#2 User is offline   Tokugawapants 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 337
  • Joined: 04-April 04

Posted 31 July 2004 - 08:17 PM

I know that you can't skin it using a shellstyle (with programs likes StyleXP), and I haven't heard of a way to do it otherwise. Microsoft explains this:

http://support.microsoft.com/default.aspx?...kb;en-us;306509

#3 User is offline   diesel_98a 

  • Spurz 4 Life....
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 26-July 03

Posted 01 August 2004 - 12:36 PM

not that i have seen. all i have uncovered has been w/ changing the color of the text and background of it.

here is the code for that:

;Default Command Prompt Color
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"DefaultColor"=dword:0000000a


changes the background to black and the text to a limegreen type color.

#4 User is offline   javagreen 

  • Member
  • PipPip
  • Group: Members
  • Posts: 164
  • Joined: 22-November 03

Posted 02 August 2004 - 01:44 AM

Use "Console" to do it, it's a SHELL for CMD.EXE

Get it at sourceforge.net, do a search for "Console". The accompanying readme details all what you need to know to get it to work.

I'm using it and it works like a charm :)

#5 User is offline   jrzycrim 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 769
  • Joined: 17-March 04

Posted 02 August 2004 - 03:02 AM

Console is pretty sweet. Thanks for that. :)

I use 4nt as my default command interpreter and Console works great with it.

#6 User is offline   linus 

  • Group: Members
  • Posts: 1
  • Joined: 13-October 04

Posted 13 October 2004 - 09:13 AM

1. To change the colors of your command prompt - try right-clicking the Command Prompt shortcut in your Start menu.
Select Properties and there it is. Go ahead and change the colors! =b

2. Make cmd.exe use your visual style instead of "classic" by using this little app:
http://www.simtel.ne...ct.php?id=68411
It does NOT modify your software - it will just create a .manifest file read by Windows. A manifest file makes sure Windows will apply visual styles for the application specified.

#7 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 October 2004 - 06:28 PM

@linus
The link to "XP Style Hacker" (which you have in the simtel download above) was tried by me. It creates a manifest alright, but its unable to use it - CMD is looking just like it always did!

#8 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 14 October 2004 - 10:38 PM

I must agree with prathapml...

Windows won't look for a manifest file for the cmd.exe file.

Any other program, it will either look for a "RT_MANIFEST" resource in the file iteself or a "program.exe.manifest" file in the same directory and the file.

Microsoft didn't allow the command prompt to be themed for compatibility reasons.

I'm still to find a way to theme the command prompt but I don't think there is one.

#9 User is offline   Zilevoli 

  • Red light, Green light
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 08-October 04

Posted 15 October 2004 - 01:11 AM

Alright ... just to clarify things on my side. The below registry file will change the colors to black background and green foreground. Now from what I can tell these colors only apply when I use the shortcut under Start>Programs>Accessories>Command Prompt

Am I wrong on this issue, because for the life of me when I go to Start>Run and type command ... the colors arent changed.

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"EnableExtensions"=dword:00000001
"DefaultColor"=dword:0000000a
"CompletionChar"=dword:00000009


#10 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 October 2004 - 03:37 AM

Well, I apply this:
; Set an exotic Command Prompt color
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"DefaultColor"=dword:00000085
At T-12 (through cmdlines.txt) - and the colour specifying, sticks. Even if I "Run" CMD, like you are asking, the specified colors stay.

#11 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 17 October 2004 - 05:28 PM

jrzycrim has used Console successfully. I've used it successfully, too, but attended.

Has anyone tried it in unattended installation?

#12 User is offline   jrzycrim 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 769
  • Joined: 17-March 04

Posted 29 October 2004 - 03:50 PM

Hello mazin. Sorry for a late reply but I didn't see your post until now.

I have successfully installed Console unattended. After extracting the Console archive, I used this in my RunOnceEx.cmd:

"RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 %systemdrive%\programs\console\console.inf" /f

That same command, minus the /f, should work from a batch file, GUIRunOnce, etc.

Here's the page for console:
http://sourceforge.n...ojects/console/

For people who use another command processor other than cmd.exe, you can set the ComSpec value in this registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]


Console will use whatever ComSpec is set to by default. For example, mine is set to %SystemDrive%\4nt\4nt.exe. For my unattended CD, I used an expandable string value so %systemdrive% would be resolved correctly.

#13 User is offline   Dobby 

  • Member
  • PipPip
  • Group: Members
  • Posts: 258
  • Joined: 17-May 04

Posted 14 February 2005 - 12:30 PM

Probably a bit late but I've made a silent install version of Console that also registers a decent monospaced font called Crystal. It's compiled with NSIS (Nullsoft installer).

The uninstaller only removes the program files not the Console Here reg entry. If there's enough interest I can do this too.

Anyone want it? If so I'll provide a link. It might be a bit specific for some people (e.g. it's configured for small window with border docked to the bottom right). You can always copy over the console.xml file though should you want your on settings. Well anyway just a thought.

#14 User is offline   DigeratiPrime 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,490
  • Joined: 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 February 2005 - 01:18 PM

hey dobby please post im interested.

#15 User is offline   Dobby 

  • Member
  • PipPip
  • Group: Members
  • Posts: 258
  • Joined: 17-May 04

Posted 15 February 2005 - 02:18 AM

Ok here is the link:

Console Silent Install

Just add '/S' for silent operation. I can setup associations for cmdfile and batfile if ppl are interested Also I was thinking of changing the default icon for bat and cmd files. Watcha think?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy