home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
gw
/
smtslp.exe
/
TPREAD.ME
< prev
Wrap
Text File
|
1995-03-07
|
2KB
|
55 lines
*************************************************************
Copyright (C) 1995, Novell, Inc. All Rights Reserved.
You may reproduce and use this software without charge provided you
do not (1) receive any direct payment, commercial benefit, or other
consideration for the reproduction or use, and (2) change or omit
any proprietary rights notice appearing on or in this software.
EXCEPT AS RESTRICTED BY LAW, THE SOFTWARE PROGRAMS CONTAINED IN THE
FILE ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED
WARRANTIES OF MERCHANTABILITY, TITLE OR FITNESS FOR A PARTICULAR
PURPOSE.
*************************************************************
TP.EXE was created to add needed flexibility to a batch file. The
flexibility TP provides are timing, polling and a logical AND of
both timing and polling depending on the startup parameters . TP
is a self contained executable that can be plugged into any batch
file where needed.
TP SYNTAX:
<timer in minutes> [<num. of files to poll> <path to polling dir
file specifier>]
* Hit any key to end TP.
The startup parameters passed to TP are what will dictate how TP
will operate.
For example:
C:\example\TP 5
With an integer of X as the first start-up parameter tp will
operate as a timer of X minutes. In this example tp will execute
for 5 minutes then end.
C:\TP 0 2 C:\*.*
With 0 minutes specified, the timer portion of tp is turned off.
With an integer of X and a path\file specifier as the next two
startup parameters tp will operate in a polling mode. In the
polling mode, tp will poll a directory for X files every 10 seconds
until the poll returns a value of files equal to or greater than
X numbers of files. When X is reached or exceeded tp will end.
C:\TP 0 100 R:\example\*.*
With 10 minutes in the first field, 100 files specified in the
second field and a path with a file specifier in the third, tp will
time for ten minutes then switch into polling mode and remain there
until 100 or more files are found in r:\example. With the time
expired and 100 or more file found in the specified directory tp
will end.