![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | PowerShell 1.0 counld support ANSI escape sequence color? hi: I just use powershell recently,it is *real console* from Microsoft. but I can't find the way to use ANSI escape sequence color code like Prompt $e[1;31m Hello World $e[0m make no sense. because the write-host could output colored text,so I think maybe has a way to use the Ansi Escape Sequence color code thanks |
My System Specs![]() |
| | #2 (permalink) |
| | Re: PowerShell 1.0 counld support ANSI escape sequence color? On Sep 18, 8:43 pm, "william.w...@xxxxxx" <william.w...@xxxxxx> wrote: Quote: > hi: > I just use powershell recently,it is *real console* from Microsoft. > > but I can't find the way to use ANSI escape sequence color code > > like Prompt $e[1;31m Hello World $e[0m > > make no sense. > > because the write-host could output colored text,so I think maybe has > a way to use the Ansi Escape Sequence color code > > thanks amazing PoshConsole does: http://www.codeplex.com/poshconsole/ - Oisin |
My System Specs![]() |
| | #3 (permalink) |
| | Re: PowerShell 1.0 counld support ANSI escape sequence color? On Sep 19, 10:00 am, Oisin Grehan <ois...@xxxxxx> wrote: Quote: > On Sep 18, 8:43 pm, "william.w...@xxxxxx" <william.w...@xxxxxx> > wrote: > Quote: > > hi: > > I just use powershell recently,it is *real console* from Microsoft. Quote: > > but I can't find the way to use ANSI escape sequence color code Quote: > > like Prompt $e[1;31m Hello World $e[0m Quote: > > make no sense. Quote: > > because the write-host could output colored text,so I think maybe has > > a way to use the Ansi Escape Sequence color code Quote: > > thanks > while powershell.exe doesn't support ansi codes (yet?), Jaykul's > amazing PoshConsole does: > > http://www.codeplex.com/poshconsole/ > > - Oisin I download the poshconsole,but its speed is very slow. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Escape sequence in registry path | PowerShell | |||
| ANN: PowerShell support added to JAMS | PowerShell | |||
| ASCII / ANSI Character sets in Vista | Vista General | |||
| Active Directory support in PowerShell | PowerShell | |||
| ansi versus unicode output with redirection operators? | PowerShell | |||