MU-VMS Archives

October 1996

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kent Covert <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Mon, 28 Oct 1996 07:33:58 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
In article <[log in to unmask]>, [log in to unmask] (Chr
is Carman) writes:
> Is there a way to redefine commands on the vax similar to the SET= command in
> the AUTOEXEC.BAT file for MS-DOS?  The reason I'm asking is because I'd like t
o
> change the DIR command to be equal to DIR/SIZE/DATE, which is much more useful
> than the information DIR currently puts out.  Thanks!
 
Sure.  Create (or edit it if it already exists) a file in your login
directory called LOGIN.COM.  The LOGIN.COM file is the file that's executed
each time you log into the system (like the AUTOEXEC.BAT file in DOS).  In
this file, place the following line:
 
    $ DIR*ECTORY :== DIR/SIZE/DATE
 
The * lets the system know the shortest abbreviated form to allow.
Therefore, DIR, DIRECT, or DIRECTORY should all work.
 
After you save the LOGIN.COM file, you can run it with LOGIN command at the
$ prompt.  This will setup the symbol redefinition.
 
--
                                     Kent Covert, Software Coordinator
                                     Miami Computing and Information Services
                                     Miami University, Oxford, OH
                                     [log in to unmask]

ATOM RSS1 RSS2