Short: Picks a file randomly based on a wildcard Author: simes@amdev.demon.co.uk (Simon Brown) Uploader: simes amdev demon co uk (Simon Brown) Type: util/misc Architecture: m68k-amigaos FilePick - yet another Uselessware product from Amazing Developments. --------------------------------------------------------------------- WHAT IT DOES Give it a wildcard, and it'll give back a file picked randomly from all those which match the wildcard. File - Pick. Marvellous. Useful for all those people who like to have random WB backdrops or random samples played on bootup. Me, in fact. WHY IT'S GREAT Werl. I wrote it, for a kick off. It can handle up to 300 files, which should be enough for just about anyone. And it's fairly small. And it's free. HOW TO USE IT filepick where is a standard AmigaDOS wildcard string, such as #?.iff, Work:Wossnames/pictures/blimey/deep/directory/this/#?.ilbm, and so on. It prints out the filename it chooses, so you can use backquoting to pass it to a command, e.g. "DSound `filepick sounds:StartupSamples/#?.8svx`". N.B. It uses the T: directory to do something or other, so make sure that this is assigned somewhere cunning, OK? OTHER STUFF FilePick is freely distributable copyright (c) 1994 Amazing Developments/Simon Brown and all that malarkey. Use it, give it to your mates, throw it on the fire, stick it up your left nostril, brutally assault Whigfield with it, I don't care. Just remember yer old mate Simes if you should win the lottery. Simes.