View unanswered posts | View active topics It is currently 22 Dec 2014 18:06



Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
show text in top right (like ansi.sys?) 
Author Message

Joined: 01 Aug 2011 13:48
Posts: 170
Post 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
Profile

Joined: 10 Feb 2012 02:20
Posts: 4504
Post 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
Profile

Joined: 01 Aug 2011 13:48
Posts: 170
Post 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
Profile

Joined: 10 Feb 2012 02:20
Posts: 4504
Post Re: show text in top right (like ansi.sys?)
Nothing in Timo Salmi's batch faq?


18 Apr 2012 05:48
Profile

Joined: 01 Aug 2011 13:48
Posts: 170
Post 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
Profile

Joined: 10 Feb 2012 02:20
Posts: 4504
Post 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
Profile

Joined: 10 Feb 2012 02:20
Posts: 4504
Post 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
Profile

Joined: 01 Aug 2011 13:48
Posts: 170
Post 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
Profile

Joined: 10 Feb 2012 02:20
Posts: 4504
Post 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
Profile

Joined: 01 Aug 2011 13:48
Posts: 170
Post 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
Profile

Joined: 10 Feb 2012 02:20
Posts: 4504
Post 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
Profile

Joined: 01 Aug 2011 13:48
Posts: 170
Post 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
Profile

Joined: 23 Dec 2011 13:59
Posts: 2132
Post 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
Profile

Joined: 10 Feb 2012 02:20
Posts: 4504
Post 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
Profile

Joined: 23 Dec 2011 13:59
Posts: 2132
Post 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
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], penpen, ShadowThief, Yahoo [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.