home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
smart21b.zip
/
MACROS
/
CHGDB.REX
next >
Wrap
OS/2 REXX Batch file
|
1992-11-10
|
609b
|
19 lines
/* Change Link Database */
/* Rexx Macro to Change the Current Link Database */
/* Displays a listbox with Databases used often */
/* allows the user to update the listbox entries */
/* arg is the filename containing the list of DB directories */
if ARG(1,'E')
then
ListFilename = ARG(1)
else
S_PROMPT 'Enter Listbox Filename,' ListFilename
if ListFilename = CANCEL
then exit
S_LISTBOX ListFilename', Change Link DB,' SelectedEntry
SAY SelectedEntry
if SelectedEntry = CANCEL
then exit
if SelectedEntry = NOSEL
then exit
S_SET_DB_PATH SelectedEntry