home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.apps:4754 comp.os.os2.misc:25544
- Newsgroups: comp.os.os2.apps,comp.os.os2.misc
- Path: sparky!uunet!gatech!taco!garfield.catt.ncsu.edu!harris
- From: harris@garfield.catt.ncsu.edu (Michael Harris)
- Subject: Re: PM & ICON Title manipulation
- Message-ID: <harris.712098965@garfield.catt.ncsu.edu>
- Sender: news@ncsu.edu (USENET News System)
- Organization: North Carolina State University
- References: <92205.084247MARK@wvnvm.wvnet.edu>
- Date: Sat, 25 Jul 1992 21:16:05 GMT
- Lines: 27
-
- <MARK@wvnvm.wvnet.edu> writes:
-
- >I have mulitple versions of IBM"S TN3270.EXE program running concurrently
- >which are logged on to several systems with different userid's. I do not
- >always use the same userids day in and day out, thus
- >I am looking for a way to dynamically change the PM title bar and ICON
- >title from a ReXX or C program.
-
- Assuming that from the command line you are doing something like:
-
- [c:\] tn3270 host1
-
- You can write a .CMD file that looks like:
-
- start "TN3270 Logged on host: %1" /win -b -h tn3270.exe
-
- In .CMD files (the OS/2 version of .BAT files), %1 expands to the first arg.,
- %2 the second, etc. If you only have one id per host, you could use check
- the hostname and also insert the userid automatically.
-
- Take a look at the online command reference for more help.
-
-
- ______________________________________________________________________________
- Michael Harris - harris@catt.ncsu.edu or harris@carvm3.vnet.ibm.com
- System Administrator, Computer & Technologies Theme Program, NC State Univ.
- (My opinions are my own and do not represent those of NCSU or IBM Corporation)
-