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   
Text File  |  1995-03-07  |  2KB  |  55 lines

  1. *************************************************************
  2. Copyright (C) 1995, Novell, Inc.  All Rights Reserved.  
  3. You may reproduce and use this software without charge provided you
  4. do not (1) receive any direct payment, commercial benefit, or other
  5. consideration for the reproduction or use, and (2) change or omit
  6. any proprietary rights notice appearing on or in this software.
  7.  
  8. EXCEPT AS RESTRICTED BY LAW, THE SOFTWARE PROGRAMS CONTAINED IN THE
  9. FILE ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
  10. EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED
  11. WARRANTIES OF MERCHANTABILITY, TITLE OR FITNESS FOR A PARTICULAR
  12. PURPOSE.
  13. *************************************************************
  14.  
  15. TP.EXE was created to add needed flexibility to a batch file.  The
  16. flexibility TP provides are timing, polling and a logical AND of 
  17. both timing and polling depending on the startup parameters .  TP
  18. is a self contained executable that can be plugged into any batch
  19. file where needed.  
  20.  
  21. TP SYNTAX: 
  22. <timer in minutes> [<num. of files to poll> <path to polling dir
  23. file specifier>]
  24.  
  25. * Hit any key to end TP.
  26.  
  27.  
  28. The startup parameters passed to TP are what will dictate how TP
  29. will operate.
  30.  
  31. For example:
  32.  
  33. C:\example\TP 5    
  34. With an integer of X as the first start-up parameter tp will
  35. operate as a timer of X minutes.  In this example tp will execute
  36. for 5 minutes then end. 
  37.  
  38. C:\TP 0 2 C:\*.*   
  39. With 0 minutes specified, the timer portion of tp is turned off. 
  40. With an integer of X and a path\file specifier as the next two
  41. startup parameters tp will operate in a polling mode. In the
  42. polling mode, tp will poll a directory for X files every 10 seconds
  43. until the poll returns a value of files equal to or greater than
  44. X numbers of files.  When X is reached or exceeded tp will end.  
  45.      
  46. C:\TP 0 100 R:\example\*.*
  47. With 10 minutes in the first field, 100 files specified in the
  48. second field and a path with a file specifier in the third, tp will
  49. time for ten minutes then switch into polling mode and remain there
  50. until 100 or more files are found in r:\example.  With the time
  51. expired and 100 or more file found in the specified directory tp
  52. will end.   
  53.  
  54.  
  55.