Ticket #46: Favorite Aliases _ Backdoor Tech.html

File Favorite Aliases _ Backdoor Tech.html, 26.7 KB (added by Lewis Rosenthal, 5 years ago)

Archived page of 4DOS aliases which may be useful

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html lang="en"><head>
2<meta http-equiv="content-type" content="text/html; charset=UTF-8"><script src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/analytics.js" type="text/javascript"></script>
3<script type="text/javascript"><!--
4
5/* Script removed by snapshot save */
6
7--></script>
8<script type="text/javascript" src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/ait-client-rewrite.js" charset="utf-8"></script>
9<script type="text/javascript"><!--
10
11/* Script removed by snapshot save */
12
13--></script>
14<script type="text/javascript" src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/wbhack.js" charset="utf-8"></script>
15<script type="text/javascript"><!--
16
17/* Script removed by snapshot save */
18
19--></script>
20<link rel="stylesheet" type="text/css" href="Favorite%20Aliases%20_%20Backdoor%20Tech_files/banner-styles.css">
21<link rel="stylesheet" type="text/css" href="Favorite%20Aliases%20_%20Backdoor%20Tech_files/iconochive.css">
22<!-- End Wayback Rewrite JS Include -->
23
24<title>Favorite Aliases /  Backdoor Tech</title>
25<meta name="description" content="4DOS and Take Command are useful utilities that have inspired a crop of batch files and utitilies to take advantage of their power. The programs are made by JPSoftware.">
26<meta name="keywords" content="4DOS, Take Command, JPSoft, batch files, computing, utility, utilities, DOS, Windows, batch, batch-to-memory, alias, aliases, computer system, operating system, command line, command prompt">
27
28<link rel="stylesheet" type="text/css" href="Favorite%20Aliases%20_%20Backdoor%20Tech_files/xmit.css">
29<meta http-equiv="Content-Style-Type" content="text/css">
30 
31   
32 
33  <link rel="shortcut icon" href="urn:download-error:https://web.archive.org/web/20110904211537im_/http://www.backdoortech.com/favicon.ico"> 
34</head>
35<body bgcolor="White"><div id="wm-ipp" style="display: none; direction: ltr;" lang="en">
36<div style="position:fixed;left:0;top:0;right:0;">
37<div id="wm-ipp-inside">
38  <div style="position:relative;">
39    <div id="wm-logo" style="float:left;width:130px;padding-top:10px;">
40      <a href="https://web.archive.org/web/" title="Wayback Machine home page"><img src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/wayback-toolbar-logo.png" alt="Wayback Machine" border="0" height="39" width="110"></a>
41    </div>
42    <div class="r" style="float:right;">
43      <div id="wm-btns" style="text-align:right;height:25px;">
44                  <div id="wm-save-snapshot-success">success</div>
45          <div id="wm-save-snapshot-fail">fail</div>
46          <a style="display: none;" href="#" onclick="" title="Share via My Web Archive" id="wm-save-snapshot-open">
47            <span class="iconochive-web"></span>
48          </a>
49          <a style="display: inline-block;" href="https://archive.org/account/login.php" title="Sign In" id="wm-sign-in">
50            <span class="iconochive-person"></span>
51          </a>
52          <span style="display: none;" id="wm-save-snapshot-in-progress" class="iconochive-web"></span>
53                <a href="http://faq.web.archive.org/" title="Get some help using the Wayback Machine" style="top:-6px;"><span class="iconochive-question" style="color:rgb(87,186,244);font-size:160%;"></span></a>
54        <a id="wm-tb-close" href="#close" onclick="" style="top:-2px;" title="Close the toolbar"><span class="iconochive-remove-circle" style="color:#888888;font-size:240%;"></span></a>
55      </div>
56      <div id="wm-share" style="text-align:right;">
57        <a href="#" onclick="" title="Share on Facebook" style="margin-right:5px;" target="_blank"><span class="iconochive-facebook" style="color:#3b5998;font-size:160%;"></span></a>
58        <a href="#" onclick="" title="Share on Twitter" style="margin-right:5px;" target="_blank"><span class="iconochive-twitter" style="color:#1dcaff;font-size:160%;"></span></a>
59      </div>
60    </div>
61    <table class="c" style="">
62      <tbody>
63        <tr>
64          <td class="u" colspan="2">
65            <form target="_top" method="get" action="https://web.archive.org/web/submit" name="wmtb" id="wmtb"><input autocomplete="off" name="url" id="wmtbURL" value="http://www.backdoortech.com/personal/alias_favs.html" onfocus="" type="text"><input name="type" value="replay" type="hidden"><input name="date" value="20110904211537" type="hidden"><input value="Go" type="submit"></form>
66          </td>
67          <td class="n" rowspan="2" style="width:110px;">
68            <table>
69              <tbody>
70                <!-- NEXT/PREV MONTH NAV AND MONTH INDICATOR -->
71                <tr class="m">
72                  <td class="b" nowrap="nowrap"><a href="https://web.archive.org/web/20110721182635/http://www.backdoortech.com/personal/alias_favs.html" title="21 Jul 2011"><strong>Jul</strong></a></td>
73                  <td class="c" id="displayMonthEl" title="You are here: 21:15:37 Sep 04, 2011">SEP</td>
74                  <td class="f" nowrap="nowrap"><a href="https://web.archive.org/web/20150327010329/http://www.backdoortech.com:80/personal/alias_favs.html" title="27 Mar 2015"><strong>Mar</strong></a></td>
75                </tr>
76                <!-- NEXT/PREV CAPTURE NAV AND DAY OF MONTH INDICATOR -->
77                <tr class="d">
78                  <td class="b" nowrap="nowrap"><a href="https://web.archive.org/web/20110721182635/http://www.backdoortech.com/personal/alias_favs.html" title="18:26:35 Jul 21, 2011"><img src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/wm_tb_prv_on.png" alt="Previous capture" border="0" height="16" width="14"></a></td>
79                  <td class="c" id="displayDayEl" style="width:34px;font-size:24px;white-space:nowrap;" title="You are here: 21:15:37 Sep 04, 2011">04</td>
80                  <td class="f" nowrap="nowrap"><a href="https://web.archive.org/web/20150327010329/http://www.backdoortech.com:80/personal/alias_favs.html" title="01:03:29 Mar 27, 2015"><img src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/wm_tb_nxt_on.png" alt="Next capture" border="0" height="16" width="14"></a></td>
81                </tr>
82                <!-- NEXT/PREV YEAR NAV AND YEAR INDICATOR -->
83                <tr class="y">
84                  <td class="b" nowrap="nowrap"><a href="https://web.archive.org/web/20100824184516/http://www.backdoortech.com:80/personal/alias_favs.html" title="24 Aug 2010"><strong>2010</strong></a></td>
85                  <td class="c" id="displayYearEl" title="You are here: 21:15:37 Sep 04, 2011">2011</td>
86                  <td class="f" nowrap="nowrap"><a href="https://web.archive.org/web/20150327010329/http://www.backdoortech.com:80/personal/alias_favs.html" title="27 Mar 2015"><strong>2015</strong></a></td>
87                </tr>
88              </tbody>
89            </table>
90          </td>
91        </tr>
92        <tr>
93          <td class="s">
94                    <div id="wm-nav-captures"><a class="t" href="https://web.archive.org/web/*/http://www.backdoortech.com/personal/alias_favs.html" title="See a list of every capture for this URL">22 captures</a><div class="r" title="Timespan for captures of this URL">11 Oct 2003 - 27 Mar 2015</div></div>
95          </td>
96          <td class="k">
97            <a href="" id="wm-graph-anchor">
98              <div id="wm-ipp-sparkline" title="Explore captures for this URL" style="position: relative">
99                <canvas id="wm-sparkline-canvas" width="600" height="27" border="0"></canvas>
100              <div style="display: none; width: 25px; height: 27px;" class="yt"></div><div style="display: none; width: 2px; height: 27px;" class="mt"></div></div>
101            </a>
102          </td>
103        </tr>
104      </tbody>
105    </table>
106    <div style="position:absolute;bottom:0;right:2px;text-align:right;">
107      <a id="wm-expand" class="wm-btn wm-closed" href="#expand" onclick=""><span id="wm-expand-icon" class="iconochive-down-solid"></span> <span style="font-size:80%">About this capture</span></a>
108    </div>
109  </div>
110    <div id="wm-capinfo" style="border-top:1px solid #777;display:none; overflow: hidden">
111            <div style="background-color:#666;color:#fff;font-weight:bold;text-align:center">COLLECTED BY</div>
112    <div style="padding:3px;position:relative" id="wm-collected-by-content">
113            <div style="display:inline-block;vertical-align:top;width:50%;">
114                        <span class="c-logo" style="background-image:url(urn:not-loaded:https://archive.org/services/img/webwidecrawl);"></span>
115                Organization: <a style="color:#33f;" href="https://archive.org/details/webwidecrawl" target="_new"><span class="wm-title">Internet Archive</span></a>
116                <div style="max-height:75px;overflow:hidden;position:relative;">
117          <div style="position:absolute;top:0;left:0;width:100%;height:75px;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 90%,rgba(255,255,255,255) 100%);"></div>
118          The Internet Archive discovers and captures web pages through many different web crawls.
119
120At any given time several distinct crawls are running, some for months, and some every day or longer.
121
122View the web archive through the <a href="http://archive.org/web/web.php">Wayback Machine</a>.
123        </div>
124              </div>
125      <div style="display:inline-block;vertical-align:top;width:49%;">
126                        <span class="c-logo" style="background-image:url(urn:not-loaded:https://archive.org/services/img/wikipediaoutlinks00002)"></span>
127                <div>Collection: <a style="color:#33f;" href="https://archive.org/details/wikipediaoutlinks00002" target="_new"><span class="wm-title">Wikipedia Outlinks July 2011</span></a></div>
128                <div style="max-height:75px;overflow:hidden;position:relative;">
129          <div style="position:absolute;top:0;left:0;width:100%;height:75px;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 90%,rgba(255,255,255,255) 100%);"></div>
130          Crawl of outlinks from wikipedia.org started July, 2011. These files are currently not publicly accessible.
131        </div>
132              </div>
133    </div>
134    <div style="background-color:#666;color:#fff;font-weight:bold;text-align:center" title="Timestamps for the elements of this page">TIMESTAMPS</div>
135    <div>
136      <div id="wm-capresources" style="margin:0 5px 5px 5px;max-height:250px;overflow-y:scroll !important"></div>
137      <div id="wm-capresources-loading" style="text-align:left;margin:0 20px 5px 5px;display:none"><img src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/loading.gif" alt="loading"></div>
138    </div>
139  </div></div></div></div><!-- BEGIN WAYBACK TOOLBAR INSERT -->
140<script type="text/javascript" src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/timestamp.js" charset="utf-8"></script>
141<script type="text/javascript" src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/graph-calc.js" charset="utf-8"></script>
142<script type="text/javascript" src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/auto-complete.js" charset="utf-8"></script>
143<script type="text/javascript" src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/toolbar.js" charset="utf-8"></script>
144<style type="text/css"><!--
145
146/* Effective stylesheet produced by snapshot save */
147
148body { margin-top: 0px ! important; padding-top: 0px ! important; }
149
150.wb-autocomplete-suggestions { text-align: left; cursor: default; border-width: 0px 1px 1px; border-style: none solid solid; border-color: -moz-use-text-color rgb(204, 204, 204) rgb(204, 204, 204); -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; border-image: none; background: rgb(255, 255, 255) none repeat scroll 0% 0%; box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1); position: absolute; display: none; z-index: 2147483647; max-height: 254px; overflow-x: hidden; overflow-y: auto; box-sizing: border-box; }
151
152--></style>
153<script type="text/javascript"><!--
154
155/* Script removed by snapshot save */
156
157--></script><div class="wb-autocomplete-suggestions "></div>
158<!-- END WAYBACK TOOLBAR INSERT -->
159<!--#include virtual="../_inc/flag.inc"-->
160<div id="contnt"> 
161
162<h1>Favorite Aliases</h1>
163
164
165<p>This document comes from the thread entitled "My Favorite Aliases" that ran on the J.P. Software forum (PCVENB section 10 on Compuserve) in July and August 1994.  The original files are <code>long.al</code> (with the original messages) and <code>short.al</code> (with an edited version) are contained in a <a href="https://web.archive.org/web/20110904211537/http://www.backdoortech.com/archive/myfav.zip" title="MyFav.zip - 20 kb">compressed file <img alt="Compressed archive" src="Favorite%20Aliases%20_%20Backdoor%20Tech_files/disk.gif" border="0" height="11" width="11"></a>.</p>
166
167<p>These alias examples date from pre-Windows 95 days when MSDOS still challenged Windows 3.X as the predominant operating system on PCs. Please note that some aliases may refer to additional utilties, specific files and/or to the particular configuration of each individual computer. For aliases to work on your computer, you must adjust them accordingly. By the date of the original messages, these files were written for <strong>4DOS version 5.0</strong>. Some of these aliases may have been made obsolete by added features to <strong>4DOS version 6.0</strong>. To see more recent alias examples, check out this <a href="https://web.archive.org/web/20110904211537/http://www.backdoortech.com/personal/alias_favs2.shtml" title="g c i 275 - My Favorite Aliases 2000">page</a>. </p>
168
169<p>Original collecting and editing was done by <b>M. Sean Fosmire</b>, Marquette, Michigan, CIS 76207,1120</p>
170
171<p>Attributions appear before each section.  No one claims original
172authorship, except as may be noted.</p>
173
174<h3>Sean Fosmire</h3>
175
176<dl>
177<dt>ca=copy %1 %2 %3 %4 %5 %6 %7 %8 %9 a\</dt>
178   <dd>allows for entry of several filespecs for quick copy to A</dd>
179<dt>sc=select /od copy (%2*.*) %1</dt>
180  <dd>organizes list of files then allows selection for copying 1st RP is the destination directory</dd>
181<dt>sca=select /o-d copy (%1*.*) a\</dt>
182   <dd>combines the best of the two above presents the current files, in reverse chronological order to permit selection for copying to A this way, the most recently added or changed files are on top I also have "sm" and "sma" which do the same thing for the move command</dd>
183<dt>ix=dir/djs &gt;  index</dt>
184  <dd>This produces an ASCII file listing all files in the current directory
185  and all subdirectories.  If run from C\, it will list all files in all
186  directories, with summary information.</dd>
187<dt>sl=select list (%1*.*)</dt>
188  <dd>Allows selection of file for use of the 4DOS List command</dd>
189</dl>
190
191   <p><span class="warning">NOTE</span> on replaceable parameters in aliases I frequently use the last RP in an alias as the first character in a wildcard see examples above and one below this allows for quick narrowing by filename by entering one or more letters e.g., with "d" below, enter "d ca" to list all files beginning with "ca" </p>
192
193<dl>
194<dt>d=dir/jp %1*.*</dt>
195<dd>the "jp" is my preference -- separate extensions, stop display by page</dd>
196<dt>fre=free c d e f g j n &gt;  c\freedoc ^ type c\freedoc</dt>
197<dd>uses the "free" command to display free space on all current drives</dd>
198</dl>
199
200<h3>Michael Geary</h3>
201
202<dl>
203<dt>al*ias=*alias</dt>
204<dd>Make it easier to type the ALIAS command</dd>
205<dt>ea=edit c\txt\alias.lst</dt>
206 <dd>Edit Aliases</dd>
207<dt>la=ua * ^ alias /r c\txt\alias.lst &amp;&amp;  echo Aliases loaded</dt>
208 <dd>Load Aliases
209 </dd>
210<dt>ua=unalias</dt>
211 <dd>Clear Aliases
212 </dd>
213<dt>l*cmd=(%&amp;) | list /s</dt>
214    <dd>List the output of a command<br>
215This just runs any command and pipes its output to the LIST command.  Very simple, but extremely useful.  L MEM /C is a typical use, or even L DIR.
216Alternative, to pipe output to a file and then view it</dd>
217<dt>l*cmd   (%&amp;) &gt;C\TEMP\LCMD%_shell.LST ^ list C\TEMP\LCMD%_shell.LST</dt>
218     <dd>In case I run LCMD in more than one DOS session under Windows, the %_shell gives a unique file name to each of the "pipe" files.  You could use %@unique for this, but I wanted to be able to pick my own file name.</dd>
219
220     <dd>With the LCMD alias, you could cut FRE down to</dd>
221<dt>fre=free c d e f g j n</dt>
222<dd>and type L FRE at the C&gt;  prompt.  (Or, of course, include the L at the beginning of the FRE alias itself if you always run it that way.)</dd>
223 
224<dt>in=pushd %1 ^ %2&amp;  ^ popd</dt>
225     <dd>Run a program in a specified directory IN &lt;path&gt;  &lt; program&gt;  This replaces all the batch files that wrap PUSHD and POPD around some program that likes to be run from its own directory.</dd>
226</dl>
227     <p>My last one for now is a variation on this theme.  I normally run my DOS sessions in 50 line mode.  A fair number of DOS programs have to run in 25 line mode.  Most of those are smart enough to at least switch to thame mode first, but some are not.  They leave my screen in 50 line mode and run in the top half of the screen, leaving the bottom half with whatever was on it. Anyone who uses 50 line mode has run into this and may have batch files that call MODE 80,25 before running such programs and MODE 80,50 after.  The easy way is</p>
228
229<dl>
230<dt>in25=mode 80,25 ^ %&amp;  ^ mode 80,50</dt>
231<dd>IN25 and IN combine well.</dd>
232</dl>
233       
234                 <p>To run V Communications' System Commander, I use</p>
235<dl>
236<dt>scin=in25 in c\sc *scin</dt>
237</dl>
238
239<h3>Howard Goldstein</h3>
240
241     <p>This is an alias for the TIME command.  If entered with no operands, the date and time are displayed as with the normal TIME command but the user is not prompted for a new time.  If a parameter is given, the time is set.</p>
242
243     <p>Note that this should all be entered on one line and that the caret (^) is used as the command separator</p>
244
245<dl>
246<dt>time=iff %#==0 then^keystack enter^*time|echo %@line[con,0]^else^*time %&amp; ^endiff</dt>
247</dl>
248
249<h4>Variation on above suggested by Mike Bessy with Howard's addition
250</h4>
251
252     <p>May I suggest a variation that doe _not_ require that KSTACK be loaded and can also be used under OS/2 or NT (with suitable ParameterChar and CommandSep, of course)</p>
253<dl>
254<dt>time=iff "%&amp; "=="" then^echo The time is %_time^else^time%&amp; ^endiff</dt>
255</dl>
256
257<h3>Don E. Groves, Jr.</h3>
258
259<dl>
260<dt>DATER=(dater_date %+ ECHO  %_time)</dt>
261
262<dt>DATER12=(dater_date %+ dater_time ^echo.)</dt>
263
264<dt>DATER_DATE=<br>
265  ECHOS %_Dow %@substr[JanFebMarAprMayJunJulAugSepOctNovDec,<br>
266<img src="urn:download-error:https://web.archive.org/web/20110904211537im_/http://www.backdoortech.com/dot_clear.gif" border="0" height="1" width="40">        <img src="urn:download-error:https://web.archive.org/web/20110904211537im_/http://www.backdoortech.com/dot_clear.gif" border="0" height="1" width="40">%@eval[(%@substr[%_date,0,2]-1)*3],3] %@eval[%@substr[%_date,3,2]],<br>
267<img src="urn:download-error:https://web.archive.org/web/20110904211537im_/http://www.backdoortech.com/dot_clear.gif" border="0" height="1" width="40">        19%@substr[%_date,6,2]</dt>
268
269<dt>DATER_TIME=<br>
270   ECHOS  %@substr[12 1 2 3 4 5 6 7 8 91011,<br>
271   <img src="urn:download-error:https://web.archive.org/web/20110904211537im_/http://www.backdoortech.com/dot_clear.gif" border="0" height="1" width="40">%@eval[%@substr[%_time,0,2] %% 12*2],2]<br>
272<img src="urn:download-error:https://web.archive.org/web/20110904211537im_/http://www.backdoortech.com/dot_clear.gif" border="0" height="1" width="40">          %@substr[%_time,2,6]<br>
273<img src="urn:download-error:https://web.archive.org/web/20110904211537im_/http://www.backdoortech.com/dot_clear.gif" border="0" height="1" width="40">          %@substr[AP,%@int[%@eval[%@time[%_time]/3600/12]],1]M</dt>
274</dl>     
275<p>Note: DATER_DATE and DATER_TIME each go on one long line a piece. -)</p>
276
277    <p> They produce the output in the format of</p> 
278       DATER<br>
279Tue Aug 23, 1994 002316
280     <p>and</p>
281       DATER12<br>
282       Tue Aug 23, 1994 122403 AM
283
284     <p>And yes they are all pipeable to a file or whereever.</p>
285
286<h3>Charlie Weesner</h3>
287
288    <p> My "favorite" three aliases require using NCD (Norton's Change Directory) or LCD (LED's Change Directory).  These programs provide direct navigation from any level of the directory tree to any other level (including completion of partial directory names or mis-spellings).</p>
289
290<dl>
291<dt>cd=lcd</dt>
292<dt>md=lcd md</dt>
293<dt>rd=lcd rd</dt>
294</dl>
295     <p>If you want to use the original command, rather than the alias, you either"chdir" or "*cd" where the "*" disables any alias replacement of the
296command.</p>
297
298<h3>Niels Schaumann</h3> 
299<dl>
300<dt>.*........  pushd%0</dt>
301<dd>walks back up the directory tree from current location, # levels = # dots</dd>
302<dt>popd</dt>
303<dd>nothing fancy, just what it says</dd>
304</dl>
305     <p>I've gotten used to these, been using them for a couple of years.  I don't remember who came up with them .... I do remember someone pointing out that the "multiple dots" weren't supposed to work, but hey ..... they sure do!</p>
306
307
308<h3>Gary M. Berg</h3> 
309
310<dl>
311<dt> clear=cls white on blue</dt>
312<dd>Clear the screen</dd>
313<dt>so=%&amp;  | list/s</dt>
314<dd>Run a command and pipe stdout into LIST</dd>
315<dt> inside=so string %&amp; </dt>
316<dd>Use a "string" utility to get likely "text" in a file, send it to stdout and view it with LIST</dd>
317<dt>new_4d*os=unalias * ^ alias /r c\cmd\4dos.ali</dt>
318<dd>Reload standard aliases</dd>
319<dt> @@ctrl-T=mapmem</dt>
320<dd>Control/T runs MAPMEM</dd>
321<dt>@@Alt-F4=exit</dt>
322<dd>Alt-F4 types EXIT - similar to closing a winapp</dd>
323</dl>
324<p>Directory management utilities.  Allow changing to a subdir to run
325a program and then return - will not have changed current directory
326on any drives.</p>
327
328<pre> popdir_2
329 popdir_3
330 push_xd         pushd d ^ pushd
331 push_xdf        pushd d ^ pushd e ^ pushd
332 push_xe         pushd e ^ pushd
333 ;   Example of using push and pop routines
334 alpha*4         push_xde^cd \alpha4^*a4 %&amp;^popdir_3
335</pre>
336
337<p>ACD is a utility a bit like NCD; use it so an invalid command tries to change to the command line as a sub-directory.</p>
338 <dl>
339<dt>UNKNOWN_CMD=acd %1</dt>
340</dl>
341
342<h3>Eric Veldhuyzen</h3> 
343
344     <p>You want some nice aliases? How about my dir alias under 4OS2</p>
345
346<blockquote><pre>DIR=iff "%1" eq "" then
347   ^set pad=.
348   ^else set pad=%1
349   ^endiff
350   ^iff exist %pad\descript.ion then
351   ^*dir /A/Z/P/OgE/J %&amp; 
352   ^unset pad
353   ^quit
354   ^else
355   ^*dir /T/A/P/OgE/J %&amp; 
356   ^unset pad
357   ^quit
358   ^endiff
359</pre></blockquote>
360
361    <p> This of course all on one line, but I cut it for readability.</p>
362
363
364<h3>Anthony Williams</h3> 
365
366<dl>
367<dt>4ED*DIT=select %1 describe (*.*)</dt>
368<dd>select files for writing Descriptions</dd>
369<dt>@@Shift-F1=so *alias</dt>
370<dd> </dd>
371<dt>ADDR*ESS=ks "f%&amp;" 13 %+ list e\mydoc\addr.bk</dt>
372<dd>calls up my address book in Buerg's LIST and finds the name I have
373         requested, e.g. "ADDR Smith"</dd>
374<dt>ALLF*REE=free c %+ free d %+ free e %+ free f %+ free g</dt>
375<dd> </dd>
376<dt>ALUP*DATE=pushd c\4dos50 %+ COPY ALIAS.LST ALIAS.%@SUBSTR[%_TIME,4,1      ]%@SUBSTR[%_TIME,6,2] /Q %+ alias &gt; alias.lst %+ echo  !ALIAS LIST UPDATED! %+ renew %+ popd %+ beep</dt>
377<dd>updates my master alias list, but only after making a backup</dd>
378<dt>DIRARC=dir *.zip;*.arj;*.lzh</dt>
379<dd>selective Dir commands</dd>
380<dt>DIRBAT=dir *.btm;*.bat</dt>
381<dd>selective Dir commands</dd>
382<dt>DIRCMD=dir /k *.exe;*.com;*.btm;*.bat</dt>
383<dd>selective Dir commands</dd>
384<dt>DIREX=dir *.com;*.exe</dt>
385<dd>selective Dir commands</dd>
386<dt>MEMF=free %+ memory</dt>
387<dd> </dd>
388<dt>NOW=echo It is now %_time on %_dow %_date</dt>
389<dd> </dd>
390<dt>RENEW=unalias * %+ alias /r c\4dos50\alias.lst %+ echo ALIAS LIST REREAD!</dt>
391<dd> </dd>
392<dt>RESETN=unset * %+ set /r c\4dos50\var.lst %+ echo ENVIRONMENTAL VARIABLES
393      RESET!</dt>
394<dd> </dd>
395<dt>SOT*se=%&amp; &gt;  %tmp%!tsetmp!.!!! %+ e %tmp%!tsetmp!.!!! %+ del %tmp%!tsetmp!.!!!</dt>
396<dd>puts standard output into my editor via a temp file</dd>
397<dt> TOCP=prompt $p$g %+ set comspec=c\dos\command.com %+ c\dos\command/e2048
398 %+ c\4dos50\4start %+ set comspec=c\4dos50\4dos.com</dt>
399<dd>when I want to see how hard a time the other 99% of PC users have
400it!</dd>
401</dl>
402
403<h3>Allen Cobb</h3> 
404
405<dl>
406<dt>MDF=md %1^move %1.* %1^cd %1</dt>
407<dd>Make a directory and move files with same first name into it.</dd>
408<dt> BDELCOPY=del b%1^copy %1 b</dt>
409<dd>Remove file from B and copy new version to B.</dd>
410<dt> DOC=c\util\list.com c\doc\%1.doc</dt>
411<dt>BAT=c\util\q.exe c\bat\%1.bat</dt>
412<dt>BTM=c\util\q.exe c\bat\%1.btm</dt>
413<dd>Quick access to doc, bat, &amp;  btm files.</dd>
414<dt> S4=c\util\q.exe c\bat\set4dos.bat c\4dos\4dos.ini^c\bat\set4dos.bat</dt>
415<dd>Quick setup for 4DOS aliases, etc.  (This may be my favorite.)</dd>
416<dt>CD=*pushd</dt>
417<dt>PD=pushd</dt>
418<dt>BD=popd</dt>
419<dt>H=cd \^cdd c\^cls</dt>
420<dd>Directory shortcuts.</dd>
421<dt>MOVE=*move /r</dt>
422<dt>COPY=*copy /r</dt>
423<dt>DELDIR=echo CAUTION! Removing %1 and all subdirs!^pause^del %1 /sxqy</dt>
424<dd>Safety enhancements.</dd>
425<dt>CALC=*set x=%@eval[%&amp;]^echo %x</dt>
426<dd>Standard calculator alias from docs.</dd>
427<dt>UZP=select c\util\pkunzip (*.*) d\ %1</dt>
428<dt> LZP=select c\util\pkunzip (*.zip) -vn  list /s</dt>
429<dt>AZP=select c\util\pkzip %1 -a %2&amp;  [*.*]</dt>
430<dd>PKZIP shorthand</dd>
431</dl>
432 
433
434<p>50,000,000 directory commands.</p>
435 <dl>
436<dt>D=*dir /kmpaou</dt>            <dd>primary DIR command</dd>
437 <dt>DB=*dir b /kpaou</dt>         <dd>show drive B</dd>
438 <dt>DA=*dir /4kmpvou /aa</dt>      <dd>show everything</dd>
439 <dt>D2=*dir /p2ou /v</dt>          <dd>two columns</dd>
440 <dt>DD=*dir /4kmpv</dt>            <dd>wide, with sizes</dd>
441 <dt>DW=*dir /pouwkmv</dt>          <dd>very wide</dd>
442 <dt>DF=*dir /pkmt/a-d/ou</dt>     <dd>just a file list</dd>
443 <dt>DC=*dir /kmpaou *.c</dt>       <dd>c source files</dd>
444 <dt>DR=*dir /adwkm</dt>            <dd>just directories, very wide</dd>
445 <dt>DZ=*dir /su</dt>               <dd>just space info</dd>
446 <dt>DZIP=*dir /kmpaou *.zip</dt>   <dd>just zips</dd>
447<dt> DX=except (%%&amp;) *dir /oufp</dt> <dd> </dd>
448 <dt>DDIR=*dir /ad</dt>             <dd>just dirs, listed</dd>
449 <dt>DRI=dir</dt>                   <dd>yes, I do this too</dd>
450 <dt>DIR=*dir /ou</dt>              <dd>default dir</dd>
451<dt> DH=echo D DA DB DD DW DF DC DZ DX DR DDIR DRI DIR</dt>
452
453</dl>
454<br>
455
456<br>
457<p id="footer"><script language="JavaScript" type="text/javascript"><!--
458
459/* Script removed by snapshot save */
460
461--></script>Last Modified 2019-01-27<br>
462<script language="JavaScript" type="text/javascript"><!--
463
464/* Script removed by snapshot save */
465
466--></script>Document https://web.archive.org/web/20110904211537/http://www.backdoortech.com/personal/alias_favs.html
467
468</p><br>
469 
470</div>
471
472<!--#include virtual="../_inc/nav1.inc"-->
473
474
475</body></html>
476<!--
477     FILE ARCHIVED ON 21:15:37 Sep 04, 2011 AND RETRIEVED FROM THE
478     INTERNET ARCHIVE ON 21:14:30 Jan 27, 2019.
479     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
480
481     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
482     SECTION 108(a)(3)).
483-->
484<!--
485playback timings (ms):
486  LoadShardBlock: 182.403 (3)
487  esindex: 0.01
488  captures_list: 207.452
489  CDXLines.iter: 12.221 (3)
490  PetaboxLoader3.datanode: 83.859 (4)
491  exclusion.robots: 0.382
492  exclusion.robots.policy: 0.366
493  RedisCDXSource: 8.944
494  PetaboxLoader3.resolve: 140.783 (3)
495  load_resource: 64.802
496-->