home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / ADC_TP3.ZIP / BUILD.TXT < prev    next >
Encoding:
Text File  |  1987-03-01  |  4.5 KB  |  111 lines

  1.  
  2.  
  3.                         BATCH FILE BUILDER DOCUMENTATION
  4.  
  5.  
  6.  
  7.      Program creates  batch files as an aid to file management particularly
  8.      on hard  drives.   Uses Binary  Tree sorting and searching techniques,
  9.      machine specific BIOS calls and DOS function calls using Extended File
  10.      Control Blocks.   Provides  Negate function  sorrily missing from DOS.
  11.      Runs on  Color or  MonoChrome without  user  intervention.    Verifies
  12.      Drive, Path  and File  Specs for  all prompts requiring them.  Systems
  13.      set up for Ram Drives not active will cause DOS Retry, Abort or Ignore
  14.      error.
  15.  
  16.      Sample run  shown below  will create  a file on drive A in the ARCHIVE
  17.      sub-directory called  SAVE_PD.BAT.  This file will contain 3 lines for
  18.      each file  on drive  C in  the \TURBO\PUBLIC sub-directory that do not
  19.      have an  extension of  PAS.  The files will be sorted by Extension and
  20.      then Name. For each file the following lines will be repeated :
  21.  
  22.      COPY C:\TURBO\PUBLIC\filename.ext A:\ARCHIVE
  23.      ERASE C:\TURBO\PUBLIC\filename.ext
  24.      ECHO C:\TURBO\PUBLIC\filename.ext  has been archived to A:\ARCHIVE
  25.  
  26.      ---- SAMPLE RUN ------------------------------------------------------
  27.  
  28.       Batch File Builder Version 1.00
  29.       Public Domain Software by Jay S Pondy
  30.      
  31.       Batch File Name ->A:\ARCHIVE\SAVE_PD.BAT
  32.             File Spec ->C:\TURBO\PUBLIC\*.PAS
  33.           Negate Mask ->Y
  34.           Sort Orders ->1. Name
  35.                         2. Extension
  36.                         3. Name and Extension
  37.                         4. Extension and Name
  38.            Sort Order ->4
  39.          Reverse Sort ->N
  40.      
  41.      
  42.      Enter Batch Files Lines.  Use '!' for file name substitution symbol.
  43.      
  44.      
  45.      ->COPY C:\TURBO\PUBLIC\! A:\ARCHIVE
  46.      ->ERASE C:\TURBO\PUBLIC\!
  47.      ->ECHO C:\TURBO\PUBLIC\!  has been archived to A:\ARCHIVE\!
  48.      ->
  49.      Building Tree ...................................................
  50.      Searching Tree ...............................
  51.      Creating Batch File ....................................... Finished.
  52.      
  53.      ---- END SAMPLE RUN --------------------------------------------------
  54.  
  55.  
  56.                         BATCH FILE BUILDER DOCUMENTATION
  57.  
  58.  
  59.  
  60.      Explanation of Prompts -
  61.  
  62.  
  63.        Batch File Name ->
  64.           Enter the  Drive, Path,  File Name  and Extension of the file you
  65.           wish to  create.   The program  will not  allow an invalid Drive,
  66.           Path, File  Name or Extension.  It does not verify nor append the
  67.           extension BAT.
  68.  
  69.        File Spec ->
  70.           Enter the  Drive, Path, File Name, Extension and / or wild cards.
  71.           The program  will not  allow an  invalid Drive,  Path, File Name,
  72.           Extension or  wild cards.  The program will not leave this prompt
  73.           until there is at least one file that qualifies the file spec.
  74.  
  75.        Negate Mask ->
  76.           Enter Yes  if you wish to Negate the Mask and or File Name of the
  77.           File Spec previously prompted for.  In the example above only the
  78.           files that do not have an extension of PAS will qualify.
  79.  
  80.        Sort Order ->
  81.           Choose one  from the  list of  four displayed.   The  files  will
  82.           appear in the batch file in the order selected.
  83.  
  84.        Reverse Sort ->
  85.           Enter Yes  if you  wish the Sorting Order selected above reversed
  86.           such that Z is before Y etc. etc.
  87.  
  88.        Enter Batch Files Lines.  Use '!' for file name substitution symbol.
  89.           You may  enter up to 10 lines.  For each file name that qualifies
  90.           these lines will be repeated.  The ! is used to indicate that the
  91.           file name is to be substituted.
  92.  
  93.      This program  is hereby placed in the public domain.  It may be freely
  94.      distributed and  copied as  long as  the author  is given  due credit.
  95.      Every attempt  has been  made to  insure proper operation under normal
  96.      conditons, however due to the wide variations in hardware and software
  97.      the user  and not the author is ultimately responsible for the use and
  98.      operation of  the program  under whatever  conditions he  or she deems
  99.      appropriate.
  100.  
  101.      Any comments,  suggestions or questions are more than welcome.  Please
  102.      send all  patches or  updates to  me and  I will  incorporate with due
  103.      credit.
  104.  
  105.      Author : Jay S Pondy
  106.               PO Box 4503
  107.               Martinez, GA. 30906
  108.               404-733-0187
  109.               
  110.               Compuserve - 73047,2402
  111.               Delphi     - Fingertips