home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
BBSDOOR2.ARJ
/
PIKV2_1.ZIP
/
PICK.DOC
< prev
next >
Wrap
Text File
|
1994-12-17
|
4KB
|
80 lines
P I C K - O N E
v2.01
Written by JL Enterprizing Software (c) 1994
This program is public domain
no fee or payment for use.
This program is presented AS IS!! No guarantee or
warranty of any kind except to take up disk space.
This program will take a list of screens and select
a screen at random for the list. Then copy and
rename the selected file to any other directory
and file name.
Use this to generate randomly selected screens
for your welcome screens or to randomly select
a screen for your bluewave reader :)
You can use this program with different configuration files
for different applications.
Limits are: no more than 500 screens in the random selections
Pick-One will also check for the existance of ASC and AVT
screens that may exist in the same directory as the selected
screen with the same name. If one or both are present then
they too will be copied and named <outputfile>.ASC and/or
<outputfile>.AVT. Confused? All this means is that the AVT
and ASC screens will also be copied and moved IF they are
there.
You must have a configuration file to run Pick-One. The
configuration file structure is as follows:
First Line: Path and name of the output file
Next Lines up to 500:Path and names of files that you want
to use for selections. Pick-One will
use this list of file names to randomly
select one to be copyied and renamed to
the output file.
A sample configuration file is included with this pack that
you can edit and use.
Thats it!! Just call Pick-One from your BBS batch file when
ever you want a new screen selected.
Address your comments to: John Lewis
Back Woods BBS
Fido 1:170/702
1:170/1
(918) 757-4162
v1.04 First release, tried to make it simple and quick.
v1.05 Added larger buffers to speed up copy and move routines.
Fixed bug that in error routine that would wait for a
key press before continueing, real annoying when running
from a batch file, kinda hangs up the board all day. :)
v1.06 Fixed bug in *.AVT screens. For some reason avitar
screens will not copy correctly when using sequential
access files. Rewrote file copying and renaming routines
to binary file access, also added routine to change output
file date and time stamp to that of the orginal.
v2.01 Added routines to clean out the old screens before
copying. Seems that if there were mixed sceens to choose
from (some with Avatar and Ascii and some with only Ansi)
the old Avatar and Ascii screens were remaining if the
newly selected screen was only Ansi. Also fixed problem
if target file didnot exist, like at startup.
** Pick-1 was written using PDS v7.1 **