home *** CD-ROM | disk | FTP | other *** search
-
- RNDExec 1.0
-
- By
-
- KAP of Deja Vu
-
- A simple utility for, hmm, whatever you feel like using it for. I use it for
- several things; showing random texts on my BBS and adding random texts to
- archieves. Use it for all your everyday random decisions :-)
-
- You need ARP.Library in you LIB: to use this utility!
-
- Usage: RNDExec String_to_Execute File_Pattern [More file_patterns]
-
- String_to_execute is the string that RNDExec sends to Execute(). Insert %RND
- anywhere you want a randomly generated filename. If there are no %RND it
- will just send the string to Execute() without doing anything with it.
-
- You also need one filepattern for each %RND. This can either be a ordinary
- file (or directory name) or a wildcard. If you don't use a wildcard, the
- filename will just be inserted. With a wildcard RNDExec will scan for all
- matches and then choose one of these randomly.
-
- Some examples;
-
- RNDExec "Copy %rnd to LogOff.Txt" TmpTexts/LogOff*.Txt
- This will randomly choose one of the LogOff.txt's and copy it.
-
- Another example (when using it with my LHAdder & TC utility);
- LZH RNDExec "LHAdder %s %RND" AddTexts/Travel?.LZH
- Which will add a random Travel.LZH to every processed archieve.
-
- A more complex example;
- RNDExec "Join %RND %RND as LogOn.Txt" TmpTexts/Logo? TmpText/LogOn*.Txt
- Which creates a logon text with both a random logo and a random text.
-
- A more stupid example;
- RNDExec "%RND ReadMe" C:*
- This would randomly run one of your commands in C: with ReadMe as an
- argument. Perhaps something to do if you are extremly bored. ;-)
-
- Don't use RNDExec within the string that you want to execute! For example;
- RNDExec "RNDExec %RND *" *
- Will not work! Because of the very simple parseing of the string. Next
- version might allow some way around this. But it's hardly one of the most
- wanted features on my list. :-)
-
- Well as usual pretty akward docs. But what the heck you probably get the
- picture.
-
- And as usual; There shouldn't be any bugs in the code. But if there is, please
- contact my BBS and leave me a message so I can fix it.
- And do call my BBS anyway!
-
- My BBS now runs on a Amiga 2000 with 400 meg HD, 68020, 5 meg memory.
-
- The Schismatrix +46 51530370, Sysop KAP of Deja Vu
-
- Call it today, tomorrow it can be to late!!!
-
- .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
- | If you feel like making a donation, or encourage me in some other way,|
- = to ensure that I continue to write new utilities and support my old =
- | ones. Then send it to this address; |
- | |
- = KAP =
- | Bygården, Slöta |
- = 521 05 Vartofta =
- | Sweden |
- = =
- | Or why not support my BBS by uploading a couple of files today... |
- = Any kind of support/donation will be most appreciated and will =
- | certainly make me code even harder on all my projects. |
- `-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-'
-
- History
-
- News in 1.0;
-
- O Uses %RND instead of %S.
-
- O Supports several %RND.
-
- O Now uses ARP library for pattern matching. Used Lattice before which
- was dead slow.
-
- O Faster, between five and ten times depending on the case.
-
- O Shorter. Previous version was 9364 long, now it is 1856 bytes.
-
-