| Author |
Message |
|
taripo
Joined: 01 Aug 2011 13:48 Posts: 127
|
 show text in top right (like ansi.sys?)
I remember how ansi.sys let you use an escape sequence to if I recall and I may be wrong, let you set text at a particular cursor position.
I am in XP and don't want to use command.com I want to use cmd.exe
What are my options?
|
| 18 Apr 2012 04:41 |
|
 |
|
foxidrive
Joined: 10 Feb 2012 02:20 Posts: 2482
|
 Re: show text in top right (like ansi.sys?)
viewtopic.php?f=3&t=3216 There is a tool there which allows colour - msg posted today. Other alternatives may be found in Timo Salmi's batch faq.
|
| 18 Apr 2012 05:26 |
|
 |
|
taripo
Joined: 01 Aug 2011 13:48 Posts: 127
|
 Re: show text in top right (like ansi.sys?)
I don't see anything there that would do what I describe I am looking for.
|
| 18 Apr 2012 05:40 |
|
 |
|
foxidrive
Joined: 10 Feb 2012 02:20 Posts: 2482
|
 Re: show text in top right (like ansi.sys?)
Nothing in Timo Salmi's batch faq?
|
| 18 Apr 2012 05:48 |
|
 |
|
taripo
Joined: 01 Aug 2011 13:48 Posts: 127
|
 Re: show text in top right (like ansi.sys?)
I did a search over the entries there and didn't see anything for what I was looking for.
|
| 18 Apr 2012 06:29 |
|
 |
|
foxidrive
Joined: 10 Feb 2012 02:20 Posts: 2482
|
 Re: show text in top right (like ansi.sys?)
Did you search the web site or the ZIP archives? His website examples only shows a subset of the archives. There are some solutions here too. It is not a native ability of the CMD prompt so you have to use the findstr workaround or use a tool for it. viewtopic.php?f=3&t=2745
|
| 18 Apr 2012 06:53 |
|
 |
|
foxidrive
Joined: 10 Feb 2012 02:20 Posts: 2482
|
 Re: show text in top right (like ansi.sys?)
I've just noticed that you didn't mention colour. ANSI escape sequences were mostly used for colour so I assumed you were after colour too.
What is it you are trying to do? Have a clock in the top right corner?
|
| 18 Apr 2012 06:58 |
|
 |
|
taripo
Joined: 01 Aug 2011 13:48 Posts: 127
|
 Re: show text in top right (like ansi.sys?)
a clock would be ok, or my IP Address, or MAC address.
|
| 18 Apr 2012 08:42 |
|
 |
|
foxidrive
Joined: 10 Feb 2012 02:20 Posts: 2482
|
 Re: show text in top right (like ansi.sys?)
Here ya go: Code: @echo off cls echo 192.168.1.2 pause>nul
|
| 18 Apr 2012 09:02 |
|
 |
|
taripo
Joined: 01 Aug 2011 13:48 Posts: 127
|
 Re: show text in top right (like ansi.sys?)
No good. In your example it doesn't stick like a stamp. It's not permanent. When you push ENTER and have some commands that give some output, then after a short while it eventually scrolls off the screen.
|
| 18 Apr 2012 09:07 |
|
 |
|
foxidrive
Joined: 10 Feb 2012 02:20 Posts: 2482
|
 Re: show text in top right (like ansi.sys?)
if you want something to stay on the CMD screen permanently then you are going to need a TSR program.
What is it that you want to do?
|
| 18 Apr 2012 09:13 |
|
 |
|
taripo
Joined: 01 Aug 2011 13:48 Posts: 127
|
 Re: show text in top right (like ansi.sys?)
well, aside from it being good if there were a replacement for ansi.sys for cmd
I want a reminder of my IP Address. I am not keen on using the TITLE to do it 'cos I already use the title to summarise what i'm doing there so if I have to bring a cmd window back up I know what cmd prompt i'm opening.
|
| 18 Apr 2012 09:24 |
|
 |
|
Squashman
Joined: 23 Dec 2011 13:59 Posts: 1003
|
 Re: show text in top right (like ansi.sys?)
What is wrong with just typing ipconfig real quick? Or putting some other program in your system tray that displays your IP address?
|
| 18 Apr 2012 09:43 |
|
 |
|
foxidrive
Joined: 10 Feb 2012 02:20 Posts: 2482
|
 Re: show text in top right (like ansi.sys?)
indeed. or use a batch file called IP.BAT to display your ip address.
|
| 18 Apr 2012 10:03 |
|
 |
|
Squashman
Joined: 23 Dec 2011 13:59 Posts: 1003
|
 Re: show text in top right (like ansi.sys?)
Sound like a good idea for a DOSKEY macro as well.
|
| 18 Apr 2012 10:08 |
|
|