Short: Rnd copy from pattern(#?) to dest file. OS2.0 Author: crandall@garnet.msen.com Uploader: crandall@garnet.msen.com Type: util/cli Now version .91 Given a pattern, will select one random file and copy it to the specified file. Originally written with random wbpatterns in mind. Could be other uses, such as fortune cookies or quotes. Maybe a slideshow? Suggested usage would be go like this: randomcopy FROM prefs:presets/patterns/~(#?.info) TO env:sys/wbpattern.prefs When executed in your startup-sequence, a random pattern would be selected for the workbench. This could also be a palette, pointer, or set of fonts. Update includes support for CLONE Copies comment, date, and protection bits. BUFFER Sets size of copy buffer. MINWAIT \ MAXWAIT Ability to wait definable times between copies. LONGBREAK / USETICKS / Also, ReadArgs has been utilized for more reliable argument parsing. A minor update to fix a random seed problem. A seed can be saved to the S: directory by specifing a "RNDFILE" keyword on the command line. This is to get a better random-ness to users without an internal clock. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 993 540 45.6% 21-Nov-94 15:01:16 RandomCopy.info 7489 3411 54.4% 21-Nov-94 15:06:00 RandomCopy/randomcopy.doc 1158 697 39.8% 21-Nov-94 15:04:20 RandomCopy/Randomcopy.readme 5464 2956 45.9% 21-Nov-94 14:56:18 RandomCopy/rc 7536 2816 62.6% 21-Nov-94 14:56:16 RandomCopy/rc.e -------- ------- ----- --------- -------- 22640 10420 53.9% 28-Nov-94 14:32:50 5 files