home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / WILD401.ZIP / WILD.DOC < prev    next >
Text File  |  1993-06-28  |  8KB  |  144 lines

  1. ╒═════════════════════════════════════════════════════════════════════════╕
  2. │       CADMOS Computer WorkShop - 26, Skoufa Street, Athens 106 73       │
  3. │    Phone +30-1- data: 363 5482, 360 6044, 360 6046 (Cadmos/CHAOS BBS)   │
  4. │              voice: 361 1030, 360 6052       FAX: 360 6059              │
  5. ╘═════════════════════════════════════════════════════════════════════════╛
  6. ╔═════════════════════════════════════════════════════════════════════════╗
  7. ║ WILD, Ver 4.01, (c) 1988-93, Haris Courouclis (CADMOS), (301) 361 1030  ║
  8. ║┌───────────────────────────────────────────────────────────────────────┐║
  9. ║│FORMAT:  WILD [options] Cmd FSpec|@List [args (including Wild)]        │║
  10. ║│Wild executes Cmd for All files in FSpec or in LIST substituting each  │║
  11. ║│matching file name for the keyword WILD.                               │║
  12. ║└───────────────────────────────────────────────────────────────────────┘║
  13. ║ Options: /a   - All filenames starting with FSpec are selected.         ║
  14. ║ ┌─────┐  /e:n - set the DOS Env. size to n (default is 1567).           ║
  15. ║ │┌───┐│  /h:n - Halt if ErrorLevel is n.                                ║
  16. ║ ││┌─┐││  /i   - echo command line Info with Wild logo.                  ║
  17. ║ │││ │││  /k:s - stuff keyboard buffer with s before execution.          ║
  18. ║ │││ │││  /n   - Wild logo and command line info are Not echoed.         ║
  19. ║ ││└─┘││  /p   - Pause after each command execution. Pressing any key    ║
  20. ║ │└───┘│         while the command executes sets Pause Mode, while       ║
  21. ║ └─────┘         pressing END at a pause prompt cancels Pause Mode.      ║
  22. ║          /t   - Test mode. Echoes command line but does not execute.    ║
  23. ║ @LIST specifies that LIST lists filenames to be used, one on each line. ║
  24. ║ Use {, } and = for iterative redirection and piping from within WILD.   ║
  25. ║ Smart wildcards are supported. S*T matches SMART but not SOME that DOS  ║
  26. ║ would. Keyword wild anywhere on the command line is substituted by each ║
  27. ║ file name+ext. A + before wild adds the directory name, while a - after ║
  28. ║ wild strips the extension.                                              ║
  29. ╚═════════════════════════════════════════════════════════════════════════╝
  30.  
  31. A parameter introduced with version 4.01 and not mentioned in the HELP screen
  32. is /NT. Wild by default will NOT process files whose date stamp indicates that
  33. they were created after the wild operation started. This is usually necessary
  34. especially when new files are created during the wild operation. Older versions
  35. would execute the Wild Command for those files as well, very often engaging
  36. in an endless loop. Nevertheless, there are cases when you might not want this
  37. check to be done. You can then use the /NT (No Time check) parameter.
  38.  
  39. When run with the -T parameter (test only) no time check is done. This will
  40. be corrected at the next version.
  41.  
  42. Use Cadmos MakeList.EXE to create @List files.
  43.  
  44. ╔═════════════════════════════════════════════════════════════════════════╗
  45. ║ Examples:                                                               ║
  46. ║    WILD del @oldstuf                                                    ║
  47. ║      (Deletes all files listed in oldstuf)                              ║
  48. ║    WILD /ph:1 fc @new wild a:\wild-.old                                 ║
  49. ║      (Compares files in current dir listed in new with *.old files in A:║
  50. ║      and pauses after each file comparison. Halt if ErrorLevel is set.) ║
  51. ║    WILD type a*x*1.?a? wild=find "Cadmos"=more                          ║
  52. ║      (For all smart matching files, TYPE file|FIND "Cadmos"|MORE)       ║
  53. ║    WILD if *.* exist a:wild echo wild >> listfile                       ║
  54. ║      (acts like MAKELIST without attribute filters. No need to use      ║
  55. ║       }} here since WILD writes to screen directly. In this case, redi- ║
  56. ║       recting from WILD or iteratively from within WILD is the same.)   ║
  57. ║    WILD /n pkzip *.zip -k -z wild { zipcomment                          ║
  58. ║      (Attaches contents of zipcomment to every zip file. No info.)      ║
  59. ╚═════════════════════════════════════════════════════════════════════════╝
  60.  
  61.  
  62.  Wild209a.ARJ includes Cadmos DO.BAT:
  63. ╔═══════════════════════════════════════════════════════════════════════╗
  64. ║ DO.BAT - Haris Courouclis (CADMOS), 1990                              ║
  65. ╟───────────────────────────────────────────────────────────────────────╢
  66. ║ FORMAT: DO [/dow] command1 [arg1 [arg2 ...] + [command2 ...]]         ║
  67. ║                                                                       ║
  68. ║   DO is used to execute multiple commands using one command line.     ║
  69. ║   The supplied arguments are separated in groups by the plus sign (+).║
  70. ║                                                                       ║
  71. ║   If the first parameter is /dow, then READY is executed after each   ║
  72. ║   command cycle.                                                      ║
  73. ║                                                                       ║
  74. ║ Example: DO copy c:\do.bat c:\batch\do.bat + del c:\do.bat            ║
  75. ║   will execute COPY c:\do.bat c:\batch\do.bat                         ║
  76. ║   and then     DEL c:\do.bat                                          ║
  77. ║                                                                       ║
  78. ║ WARNING: DO.BAT uses (and resets) environmental parameter DO#         ║
  79. ╚═══════════════════════════════════════════════════════════════════════╝
  80.  Use DO.BAT with WILD when you want to run multiple programs with the same
  81.  arguments, instead of vice versa. To do this, you can use:
  82.          WILD do *.COM    (runs all COM files in the current dir)
  83.       or WILD do *.COM wild arg1 arg2
  84.      etc.
  85.  
  86.  
  87.  
  88. Revision History
  89. ────────────────
  90.  
  91. Ver 4.01 - 28.06.93
  92.          Changed: When /n (do NOT echo Wild logo and command line info)
  93.                   an extra line was printed between command executions.
  94.                   Now, [Wild /n WriteLn *.*] will print all file names
  95.                   with no lines left in between.
  96.  
  97. Ver 4.00 - 27.06.93
  98.            Added: Code to detect and report Dos errors when attempting to
  99.                   execute wild commands (usually "Not enough memory")
  100.           BugFix: Code to detect and not process files created during the
  101.                   wild operation by creating a temp file and comparing
  102.                   date/time. In previous versions a command
  103.                      Wild copy * wild wild@
  104.                   would run forever if files with no extention were found
  105.            Added: /NT parameter - Do not check file creation time
  106.  
  107. Ver 3.00 - 27.02.93
  108.            Added: -K: switch (stuff keyboard buffer before execution)
  109.            Added: Info line before execution as well as after
  110.            Added: When ESC is pressed, confirmation is asked before aborting
  111.  
  112. Ver 2.09 - 23.10.92
  113.           Changed: -H switch format. Now expects a specific value, including 0.
  114.            BugFix: -e:n did not work properly.
  115.  
  116. Ver 2.08 - 01.06.92
  117.            Total time reported. One line info is the default
  118.  
  119. Ver 2.07 - 19.04.92
  120.            Fixed problem with TextColor restoration (hopefully!)
  121.  
  122. Ver 2.06 - 11.08.91
  123.            Fixed(?!) HaltOnEr. Did not work through COMMAND
  124.  
  125. Ver 2.05 - 20.10.90
  126.            Added /h:er parameter (HaltOnEr). Halt if subprocess returns with
  127.            an ErrorLevel er or greater.
  128.  
  129. Ver 2.04 - 18.10.90
  130.            Added Cadmos Smart Wildcard System
  131.  
  132. Ver 1.00, 2.00, 2.01, 2.01a, 2.02, 2.03: First versions (1988)
  133.  
  134.  
  135. ┌────────────────────────────────────────────────────────────────────────────┐
  136. │(c) All rights reserved. Use prohibited in a professional, business or      │
  137. │    commercial environment without prior written licence by the author.     │
  138. │                                                                            │
  139. │ Feel free to copy and distribute this program. You may use it and evaluate │
  140. │ it for 30 days. After this period, you may only use it while you are a     │
  141. │ subscriber to Cadmos/CHAOS BBS :-)                                         │
  142. └────────────────────────────────────────────────────────────────────────────┘
  143.  
  144.