home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
WILD401.ZIP
/
WILD.DOC
< prev
next >
Wrap
Text File
|
1993-06-28
|
8KB
|
144 lines
╒═════════════════════════════════════════════════════════════════════════╕
│ CADMOS Computer WorkShop - 26, Skoufa Street, Athens 106 73 │
│ Phone +30-1- data: 363 5482, 360 6044, 360 6046 (Cadmos/CHAOS BBS) │
│ voice: 361 1030, 360 6052 FAX: 360 6059 │
╘═════════════════════════════════════════════════════════════════════════╛
╔═════════════════════════════════════════════════════════════════════════╗
║ WILD, Ver 4.01, (c) 1988-93, Haris Courouclis (CADMOS), (301) 361 1030 ║
║┌───────────────────────────────────────────────────────────────────────┐║
║│FORMAT: WILD [options] Cmd FSpec|@List [args (including Wild)] │║
║│Wild executes Cmd for All files in FSpec or in LIST substituting each │║
║│matching file name for the keyword WILD. │║
║└───────────────────────────────────────────────────────────────────────┘║
║ Options: /a - All filenames starting with FSpec are selected. ║
║ ┌─────┐ /e:n - set the DOS Env. size to n (default is 1567). ║
║ │┌───┐│ /h:n - Halt if ErrorLevel is n. ║
║ ││┌─┐││ /i - echo command line Info with Wild logo. ║
║ │││ │││ /k:s - stuff keyboard buffer with s before execution. ║
║ │││ │││ /n - Wild logo and command line info are Not echoed. ║
║ ││└─┘││ /p - Pause after each command execution. Pressing any key ║
║ │└───┘│ while the command executes sets Pause Mode, while ║
║ └─────┘ pressing END at a pause prompt cancels Pause Mode. ║
║ /t - Test mode. Echoes command line but does not execute. ║
║ @LIST specifies that LIST lists filenames to be used, one on each line. ║
║ Use {, } and = for iterative redirection and piping from within WILD. ║
║ Smart wildcards are supported. S*T matches SMART but not SOME that DOS ║
║ would. Keyword wild anywhere on the command line is substituted by each ║
║ file name+ext. A + before wild adds the directory name, while a - after ║
║ wild strips the extension. ║
╚═════════════════════════════════════════════════════════════════════════╝
A parameter introduced with version 4.01 and not mentioned in the HELP screen
is /NT. Wild by default will NOT process files whose date stamp indicates that
they were created after the wild operation started. This is usually necessary
especially when new files are created during the wild operation. Older versions
would execute the Wild Command for those files as well, very often engaging
in an endless loop. Nevertheless, there are cases when you might not want this
check to be done. You can then use the /NT (No Time check) parameter.
When run with the -T parameter (test only) no time check is done. This will
be corrected at the next version.
Use Cadmos MakeList.EXE to create @List files.
╔═════════════════════════════════════════════════════════════════════════╗
║ Examples: ║
║ WILD del @oldstuf ║
║ (Deletes all files listed in oldstuf) ║
║ WILD /ph:1 fc @new wild a:\wild-.old ║
║ (Compares files in current dir listed in new with *.old files in A:║
║ and pauses after each file comparison. Halt if ErrorLevel is set.) ║
║ WILD type a*x*1.?a? wild=find "Cadmos"=more ║
║ (For all smart matching files, TYPE file|FIND "Cadmos"|MORE) ║
║ WILD if *.* exist a:wild echo wild >> listfile ║
║ (acts like MAKELIST without attribute filters. No need to use ║
║ }} here since WILD writes to screen directly. In this case, redi- ║
║ recting from WILD or iteratively from within WILD is the same.) ║
║ WILD /n pkzip *.zip -k -z wild { zipcomment ║
║ (Attaches contents of zipcomment to every zip file. No info.) ║
╚═════════════════════════════════════════════════════════════════════════╝
Wild209a.ARJ includes Cadmos DO.BAT:
╔═══════════════════════════════════════════════════════════════════════╗
║ DO.BAT - Haris Courouclis (CADMOS), 1990 ║
╟───────────────────────────────────────────────────────────────────────╢
║ FORMAT: DO [/dow] command1 [arg1 [arg2 ...] + [command2 ...]] ║
║ ║
║ DO is used to execute multiple commands using one command line. ║
║ The supplied arguments are separated in groups by the plus sign (+).║
║ ║
║ If the first parameter is /dow, then READY is executed after each ║
║ command cycle. ║
║ ║
║ Example: DO copy c:\do.bat c:\batch\do.bat + del c:\do.bat ║
║ will execute COPY c:\do.bat c:\batch\do.bat ║
║ and then DEL c:\do.bat ║
║ ║
║ WARNING: DO.BAT uses (and resets) environmental parameter DO# ║
╚═══════════════════════════════════════════════════════════════════════╝
Use DO.BAT with WILD when you want to run multiple programs with the same
arguments, instead of vice versa. To do this, you can use:
WILD do *.COM (runs all COM files in the current dir)
or WILD do *.COM wild arg1 arg2
etc.
Revision History
────────────────
Ver 4.01 - 28.06.93
Changed: When /n (do NOT echo Wild logo and command line info)
an extra line was printed between command executions.
Now, [Wild /n WriteLn *.*] will print all file names
with no lines left in between.
Ver 4.00 - 27.06.93
Added: Code to detect and report Dos errors when attempting to
execute wild commands (usually "Not enough memory")
BugFix: Code to detect and not process files created during the
wild operation by creating a temp file and comparing
date/time. In previous versions a command
Wild copy * wild wild@
would run forever if files with no extention were found
Added: /NT parameter - Do not check file creation time
Ver 3.00 - 27.02.93
Added: -K: switch (stuff keyboard buffer before execution)
Added: Info line before execution as well as after
Added: When ESC is pressed, confirmation is asked before aborting
Ver 2.09 - 23.10.92
Changed: -H switch format. Now expects a specific value, including 0.
BugFix: -e:n did not work properly.
Ver 2.08 - 01.06.92
Total time reported. One line info is the default
Ver 2.07 - 19.04.92
Fixed problem with TextColor restoration (hopefully!)
Ver 2.06 - 11.08.91
Fixed(?!) HaltOnEr. Did not work through COMMAND
Ver 2.05 - 20.10.90
Added /h:er parameter (HaltOnEr). Halt if subprocess returns with
an ErrorLevel er or greater.
Ver 2.04 - 18.10.90
Added Cadmos Smart Wildcard System
Ver 1.00, 2.00, 2.01, 2.01a, 2.02, 2.03: First versions (1988)
┌────────────────────────────────────────────────────────────────────────────┐
│(c) All rights reserved. Use prohibited in a professional, business or │
│ commercial environment without prior written licence by the author. │
│ │
│ Feel free to copy and distribute this program. You may use it and evaluate │
│ it for 30 days. After this period, you may only use it while you are a │
│ subscriber to Cadmos/CHAOS BBS :-) │
└────────────────────────────────────────────────────────────────────────────┘