🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #8125

Re: 4DOS aliases

#8125
From: David Wales
Date: Wed, 06 Dec 1989 16:34
53 lines
2566 bytes
In article <[257b1a89:7036.2]comp.ibmpc;1@ddsw1.MCS.COM>,
andyross@ddsw1.MCS.COM (Andrew Rossmann) writes...

} 
}>  Resp: 1 of 1 by peper1 at unix.cis.pitt.edu
}>Author: [J. Christian A. Peper]
}>  Date: Mon Dec 04 1989 17:03 CST
}>How do I get 4DOS to read my aliases from a file?
}>alias /r c:\aliases.bat doesn't work.
}>It doesn't like this one, in particular:
}>	alias fb `format g`

} 
}  The format for using an alias file in 4DOS is to have it in this format:
}new_cmd=old_cmds
} 
}  For example:
}DIR=*DIR /OUJ
}PROCOMM=CDD C:\PROCOMM^PROCOMM
} 
}  You should not have an 'readable' alias file like a batch file. Just
}enter each line like above.
} 
}  Andrew Rosssmann

I user alias/r filename to load my aliases all the time.  It does work at least
in my version which is 2.21.  You do not have to use the = sign when setting
aliases.  This is how they are displayed when you issue an alias command
without any argument but something like alias dir dir/w will work fine.

The easiest way to set your aliases is to set an alias for alias itself which
sets what you want to and then writes it out to a file that you can use /r on
when you boot your system.  I use the following:-

alias *alias `*alias %1 %2^*alias>c:\alias.lst`

Then in autoexec.bat just put alias/r c:\alias.lst

Hope this helps,

David.

-- 
=============================================================================== 
|                                       | Internet: wales@gidday.enet.dec.com |
|  David Wales - Sydney Australia       | DEC Easynet: gidday::wales          |
|                                       | FIDOnet:  3:712/502   (Paragon BBS) |
|  "Only 38 years 'till retirement!"    | UUCP:   decwrl!gidday.enet!wales    |
|                                       |                                     |
|  Opinions expressed are mine and      | Voice:  (61) 2 868-3937 (H)         |
|  mine only!                           |         (61) 2 412-7334 (W)         |
|                                       |                                     |
===============================================================================
Technical Details
Message-ID: <87@e2big.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde!uunet!mailrus!iuvax!purdue!decwrl!e2big.dec.com!gidday.enet.dec.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde!uunet!mailrus!iuvax!purdue!decwrl!e2big.dec.com!gidday.enet.dec.com
From: wales@gidday.enet.dec.com (David Wales)
Newsgroups: comp.sys.ibm.pc
Subject: Re: 4DOS aliases
Message-ID: <87@e2big.dec.com>
Date: 6 Dec 89 16:34:25 GMT
Sender: news@e2big.dec.com
Organization: Digital Equipment Corporation (Australia) P/L
Lines: 53