This code will allow you to append an autoexec.bat file.
dim pathStr as string
fnum = FreeFile
pathStr ="set Path=%path%;c:\Programs Files\Firebird\Firebird_1_5\bin
Open "c:\autoexec.bat" For Append As #fnum
Print #fnum, pathStr
Close #fnum
Once the lenght of the path approaches its maximum limit of
128 characters (actually 256 if you do it in config.sys), it is much
neater to have two or more statements like
set PATH=c:\bat;c:\bin;c:\dos;c:\pctools;c:\norton;c:\windows
set PATH=%PATH%;d:\borland\bc\bin;c:\windows\ndw;d:\wp\gmkw
instead of putting it all on one line (and make it unreadable w/standard
80 cols..) (Hmm. sounds like a strange 'expert', this Mr. White...)