Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modifying a title bar of a program 1

Status
Not open for further replies.

sxschech

Technical User
Jul 11, 2002
1,034
US
I am using an icon to launch SQL+ and I have two different log-ins. Once logged in, am not able to easily tell which is which. I thought if I could add some text to differentiate that would help. Currently the title bar says

Oracle SQL*Plus

I would like the title bars for first login to say

Oracle SQL*Plus - Test

I would like the title bars for secondlogin to say

Oracle SQL*Plus - Production
 
Hi sxschech,

Is the icon a shortcut for a BAT file? Or how is an ICON starting SQLPLUS? Is it SQLPLUSW? Or the command window (SQLPLUS)?

If it's not a BAT file consider making one with your connect string, login/password in it.

Here's an example of the BAT file to try:

Code:
title "Oracle SQL*Plus - Test"
sqlplus LOGIN/PASSWORD@connect_string

Good Luck
DrD
 
Thanks DrD. A star for you. The Bat file idea worked. Only thing is doesn't seem that I can copy and paste without going to the little C:\ icon in upper left corner to do a mark, copy and the the same thing to paste. CtrlC, CtrlV doesn't seem to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top