Dec 312017
An OS/2 expanded directory command that allows you to list directory of all files, in all subdirectories. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
PRINTER.CTL | 753 | 184 | deflated |
UDIR.DOC | 6928 | 2363 | deflated |
UDIR.EXE | 41557 | 20427 | deflated |
Download File UDIR.ZIP Here
Contents of the UDIR.DOC file
UDIR.EXE OS2 directory commmand.
An expanded directory command that allows you to list directory of
all files, in all subdirectories. The command will allow wild card
just as the OS/2 command "dir". The directory listing can be
1 wide, 2 wide, 3 wide or 5 wide on screen. Each directory listed
is totalled. The output can be directed to a printer, or other
output device, or file.
The syntax of command is
UDIR [path] [options]
The options are as follows.
/w or /w5 : List directory entries 5 accross screen.
/w2 : List full directory information 2 wide.
/w3 : Partial directory information 3 wide.
/s : List all subdirectory under path
/e : Echo output to device/file following /e.
Note when echo is on the command will not pause when
screen is full. The pause action should work correctly
for all 80 column screen sizes, that is 25,43,50.
Note: When output is being directed to one of the printers printer
attribute, control character can be send to highlight the
current path being listed. To use this feature you will have
to edit the printer.ctl file included with this package. The
hex codes of the various printer, functions will have to be
changed to work with your printer. I have it set up for a tandy
DMP200 currently. The file can be placed in the root directory
or be placed anywhere if you set up a enviroment variable.
use SET DOS_UTL=path (to place it a subdirectory.)
Below is a sample of what output would look for the following command.
udir \sf*.* /s /e temp.dat
\sf*.* /s /e temp.dat
\MSOFT\MC\INCLUDE\EXT\SF*.* DRIVE-C
SFDOS.H 7118 08/31/88 21:00
SFMOU.H 5852 08/16/88 22:13
SFDT.H 12176 08/13/88 17:55
SFSCR.H 10343 08/16/88 22:09
SF.H 1628 08/23/88 22:47
SFKB.H 4101 08/28/88 20:14
SFPRT.H 7602 08/30/88 06:00
Directory File Count............. 7
Directory File Size.............. 48820
Directory File Size (allocated).. 55296
\MSOFT\MC\LIB\EXT\SF*.* DRIVE-C
SFUNC_PL.BAK 29251 09/13/88 21:29
SFUNC_PL.LIB 29251 09/14/88 01:58
Directory File Count............. 2
Directory File Size.............. 58502
Directory File Size (allocated).. 61440
\MSOFT\MC\SOURCE\SF*.* DRIVE-C
SFDOS.C 11699 09/13/88 21:28
SFKB.C 3219 08/16/88 21:54
SFMOU.C 6445 08/16/88 22:18
SF.C 3578 08/30/88 06:18
SFDT.C 22491 08/16/88 21:56
SFSCR.C 20165 08/27/88 20:21
SFPRT.C 14624 09/14/88 01:57
Directory File Count............. 7
Directory File Size.............. 82221
Directory File Size (allocated).. 88064
\TURBOC\SF*.* DRIVE-C
SFPRT.H 5276 08/29/88 21:51
Directory File Count............. 1
Directory File Size.............. 5276
Directory File Size (allocated).. 6144
\TURBOC\INCLUDE\EXT\SF*.* DRIVE-C
SF.H 293 05/24/88 00:14
SFDOS.H 4890 06/11/88 17:39
SFDT.H 12449 01/24/88 10:52
SFPRT.H 7568 06/08/88 00:21
Directory File Count............. 4
Directory File Size.............. 25200
Directory File Size (allocated).. 30720
\TURBOC\LIB\EXT\SF*.* DRIVE-C
SFFUNC.LIB 15909 06/30/88 23:00
Directory File Count............. 1
Directory File Size.............. 15909
Directory File Size (allocated).. 16384
\TURBOC\SOURCE\SF*.* DRIVE-C
SF.C 1849 05/25/88 00:05
SFDOS.C 8518 06/11/88 17:47
SFDT.C 22482 01/24/88 11:05
SFPRT.C 13273 06/28/88 22:59
SFFUNC.MAK 464 06/30/88 22:59
Directory File Count............. 5
Directory File Size.............. 46586
Directory File Size (allocated).. 51200
Total File Count................. 27
Total File Size.................. 282514
Total File Size (Allocated)...... 309248
Free 8237056 of 33419264 % 24
A exmple of listing a files on root directoy 2 wide.
udir \*.* /w2
\*.* /w2 /e temp.dat
\*.* DRIVE-C
CONFIG.386 105 07/13/88 22:12 AUTOEXEC.BAT 483 07/17/88 15:40
COMM.BAT 42 08/10/88 16:33 EDIT.BAT 22 03/01/88 22:25
MOUSE.BAT 21 06/19/88 15:30 READ.BAT 23 05/29/88 15:31
TC.BAT 32 01/17/88 14:59 SWAPPER.DAT 1703936 09/16/88 23:11
COMM.CMD 35 08/14/88 13:26 OS2INIT.CMD 456 09/13/88 22:18
READ.CMD 23 07/25/88 00:12 STARTUP.CMD 430 06/25/88 14:51
COMMAND.COM 25276 12/11/87 13:00 OS2BIO.COM 7168 07/09/88 00:01
OS2DOS.COM 262930 04/11/88 13:00 RUNFILE.COM 2006 03/01/88 22:27
DYNLIB.DLL 4271 07/17/88 20:13 CONFIG.DOS 244 06/25/88 14:24
HARDERR.EXE 16304 04/11/88 13:00 SWAPPER.EXE 4150 04/11/88 13:00
FSB.HLP 8813 05/30/88 18:35 OSO001.MSG 65077 04/11/88 13:00
TREEINFO.NCD 2011 08/14/88 23:20 AUTOEXEC.OS2 478 07/17/88 15:41
CONFIG.OS2 1533 07/23/88 15:38 CLOCK01.SYS 2762 04/11/88 13:00
CONFIG.SYS 244 06/25/88 14:24 COUNTRY.SYS 14644 04/11/88 13:00
DISK01.SYS 20133 04/11/88 13:00 KBD01.SYS 16945 04/11/88 13:00
PRINT01.SYS 7683 04/11/88 13:00 SCREEN01.SYS 1583 04/11/88 13:00
FORMATS.TBL 808 07/09/88 00:03 CONFIG.WIN 105 07/02/88 22:51
CC.CMD 39 08/27/88 20:49 UPRINT.BAT 30 08/24/88 20:47
Directory File Count............. 36
Directory File Size.............. 2170845
Directory File Size (allocated).. 2220032
Free 8237056 of 33419264 % 24
This program is written using Microsoft C 5.1 and using OS/2 call
functions. The source for this program and for a set of library
functions, for keyboard, DOS, mouse, screen, and date/time functions
is available for $10.00 on 5 inch diskette or $11.00 on 3.5 inch.
Note: Full source is included for all library functions.
A Turboc version to run under DOS 3.x is also available for the
same price. This exe version of this will be downloaded soon.
Please send check/money order to
Thomas Sandberg
24220 Western Ave #B
Harbor City, CA 90710
You may call if you have any question:
work: 213-618-4096
home: 213-325-4306
December 31, 2017
Add comments