Dec 172017
 
Will write a listing of drive_path_file specs matching the user's entered file specification to the file DIR2.BAT.
File DIR2BAT.ZIP from The Programmer’s Corner in
Category Batch Files
Will write a listing of drive_path_file specs matching the user’s entered file specification to the file DIR2.BAT.
File Name File Size Zip Size Zip Type
DIR2BAT.EXE 20704 11602 deflated
TNT.DOC 10793 3564 deflated

Download File DIR2BAT.ZIP Here

Contents of the TNT.DOC file


























/////////////////// /// // //////////////////
// // // // //
// // // // //
// // // // //
// // // // //
// // // // //
// // /// //
// // // //





Tessler's Nifty Tools (TNT) Release 2.8

<<< SHAREWARE >>>

Copyright (c) 1987, 1988, 1989, 1990, 1991

All Rights Reserved.

















Page 1 of 5

Tessler's Nifty Tools Copyright (c) 1987-1991 All Rights Reserved.


TNT is a collection of useful SHAREWARE MS-DOS programs. Monetary
contributions and any ideas for enhancements may be sent to:

Tessler's Nifty Tools (TNT) Release 2.8
430 'A' Canyon Woods Place
San Ramon, Ca. 94583


**************************************
** Summary of programs: **
**************************************

CHEK4DUP.EXE Generates a list of files that exist in both .EXE and .COM
form. This usually occurs when software is upgraded from a
COM format to an EXE format and the old COM version is
accidentally left on the system when the new EXE form is
put onto the system. DOS will always invoke the COM
form before the EXE form program so you should delete
the older COM program if required.

COPYWA.EXE Copies files matching the source filespec to the
destination filespec with the source file's attribute copied
into the destination file too.

CRTDUMP.EXE This program dumps the contents of either a color or monochrome
card/monitor in alphanumeric mode to the specified file.

DIR2BAT.EXE Will write a listing of drive_path_file specs matching the
user's entered file specification to the file DIR2.BAT. Each
file specification found may be prefixed and suffixed by
user provided strings. This batch file will then be able to
perform actions to the files.....

For example, if your C: disk contains the following files:
README.DOC TESTME.DOC LIST.DOC PRINTER.DOC

Then the command:
DIR2BAT C:*.DOC /S /A "ATTRIB -R ! /S" "DEL !"

will append the following lines to an existing DIR2.BAT file:

ATTRIB -R C:\README.DOC /S
DEL C:\README.DOC
ATTRIB -R C:\TESTME.DOC /S
DEL C:\TESTME.DOC
ATTRIB -R C:\LIST.DOC /S
DEL C:\LIST.DOC
ATTRIB -R C:\PRINTER.DOC /S
DEL C:\PRINTER.DOC








Page 2 of 5

Tessler's Nifty Tools Copyright (c) 1987-1991 All Rights Reserved.



DVCPU.EXE is a DesqView utility program that is meant to be run right
before running a program that requires full usage of the CPU's
computing power. It pops up the DesqView window and sets
'Share CPU when in Foreground' to 'Y' or 'N' depending on the
parameter entered. It useful for programs that insist on
running in a non-multitasking environment such as voice
sampling and digitization programs.

DVPROMPT.EXE Facilitates naming of DOS windows under DesqView. For example,
upon opening and using several DOS windows with command line
programs, the user often finds it difficult to remember
which window he/she was doing what task in. Since each window
has the same DOS prompt, DOS gives him/her no visual clue to
the identification of the current window.

This program will change each DOS window's DOS prompt into the
typical form of:

1 C:\>
2 C:\>
3 C:\> etc.

It will maintain a counter in the file DVPROMPT.DAT. If
DVPROMPT is invoked and it cannot find DVPROMPT.DAT, it
resets the counter to 1 (one). If it finds DVPROMPT.DAT, it
creates a file called TEMP.BAT that contains the sole line:

PROMPT n

where n is the counter value found in DVPROMPT.DAT and the
user_string is a PROMPT string (typically $P$G). If the
user_string contains spaces, enclose it with double quotes.

A useful example is as follows: Assume that DesqView invokes
AUTOEXEC.BAT as "AUTOEXEC X" whenever it opens a DOS
command shell. Let AUTOEXEC.BAT contain:

VERIFY OFF
PATH = C:\;C:\DOS;C:\WPROC
IF %1Y==Y GOTO NOT_UNDER_DV
REM INVOKED BY DESQVIEW
DVPROMPT $P$G
TEMP <- DOS jumps to this batch file to set the prompt
:NOT_UNDER_DV
REM ENVOKED BY PC UPON POWER-UP
DEL DVPROMPT.DAT <- reset the counter to 1.
PROMPT $P$G

EXPNDTAB.EXE Copies the file matching the source filespec to the
destination filespec with any source file characters
expanded into space characters into the destination file.





Page 3 of 5

Tessler's Nifty Tools Copyright (c) 1987-1991 All Rights Reserved.



FEEFIFO.EXE Enables the FIFO of a 16550A UART chip at the COM port
specified by the user. If the port is not FIFO equipped,
nothing is done.

GROWP.COM This resident program requires about 1400 bytes of resident
RAM to add a default '>' or user entered growth
character to the environment's 'PROMPT' string each time
another copy of COMMAND.COM is shelled and to remove the
growth character when the copy of COMMAND.COM is
terminated. GROWP requires DOS version 3.0 or higher. Each
growth character represents a suspended program in RAM and
gives you a visual warning that you should not turn-off your
PC before returning to the suspended program and gracefully
exiting it.

IFONSCRN.EXE Examines the video screen for the appearance of the case-
sensitive search string. If the string appears on the screen,
the DOS ERRORLEVEL will be set to 0 (zero), else if it is not
found, it will be set to 1 (one). If your search string
contains significant spaces or tabs, enclose your string with
double quotes. Very useful in batch files to examine the state
of a program that does not set DOS' error-level before exiting.

PARKHEAD.EXE This program runs on IBM PC/286/386s and most compatible
machines. It parks up to 2 hard (fixed) disk's heads over the
shipping area where user data doesn't reside.

PDEL.EXE PERMANENTLY deletes with verification, your specified filename.
You will be prompted to press 'Y' to delete the specific
file.

PRTSCRFF.COM Appends a form-feed (paper eject) command to your printer
whenever you press Shift-PrtScr. Very useful to keep your
printer always at its top-of-form position.

RLIST.EXE Prints a range of lines from a file (CR,LF delimited) to the
CON: or PRN: device. Useful to view a portion of a file's
contents.

RWDIR.EXE Generates a list of non-read-only files. Useful to keep track
of the few files on your system that are read-writable since
the cautious user will have the majority of his/her files
marked as read-only. Certain applications require their files
to read-writable so not every file may be set to read-only.

SETBEEP.COM Installs itself as a RAM-resident program that will set the
beep character's (ASCII decimal 7 or control-G) duration to a
user specified value. The default beep tone duration is 1
second which is too long and annoying for many people. This
program intercepts BIOS interrupt 10h WRITE_TTY.






Page 4 of 5

Tessler's Nifty Tools Copyright (c) 1987-1991 All Rights Reserved.


VDEL.EXE Will delete with verification, files that match your filename
specification. You will be prompted to press 'Y' to delete the
specific file. 'Read-only' files will prompt you for an
additional 'Y' to be deleted.

VERS.COM Installs itself as a RAM-resident program that will set the DOS
version to a user specified value. This is useful when running
programs that require a specific DOS version for no useful
reason. (Many DOS supplemental programs require specific
versions for no reason. For example, if you are running DOS 3.1
but like DOS 3.2's ATTRIB.EXE '/S' sub-directory search option,
you could set VERS to 3.2, then run ATTRIB and then reset it
back to 3.1).

ZDIR.EXE Reports the kilobytes contained in the files matching the
filespec_to_scan.









































Page 5 of 5




 December 17, 2017  Add comments

Leave a Reply