Subject: | |
From: | |
Reply To: | |
Date: | Mon, 21 Aug 2000 15:00:06 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
"COLE,GLENN (Non-HP-SantaClara,ex2)" wrote:
> Jim Phillips writes:
>
> > Command file (called CLS) located in a directory that everyone has access
> to
> > (sort of like PUB.SYS) and that is put in the HPPATH during a system-wide
> > logon udc. This file contains one line:
> >
> > <esc>h<esc>J
> >
> > Where <esc> is the escape character.
>
> This is actually one of my pet peeves. I've seen *source code* that
> hard-coded
> such a beast. And what happens when you innocently list the file to the
> screen
> (because you want to see what's in the file) ??
>
> On occasion, I've also used
>
> %print @.cmd; end=5; keepamdates
>
> to jog my memory for what the command files do. (I usually have comments
> in the first line or three.)
>
> PLEASE consider using an alternate technique.
>
> --Glenn
Glenn,
If you are referring to my post about system wide commands (i.e. cls) I don't
hard code the escape character in the file. The file use the echo command
ECHO ![CHR(27)]H ![CHR(27)]J
--
Larry Barnes
Director of I.T.
Mitek Corp.
602-438-4545 x1366
Phoenix, AZ 85040
Check Us Out !
http://www.mitekcorp.com
|
|
|