>I received a reply that says use the sys(5) and sys(2023) functions to get the default directory. The default directory is set when the exe is called. So no matter were you have the .exe file it will set the default directory to the path were the .exe file is located. I tested it and it works.
>
>Thanks for the reply
>Matt
Matt:
You are correct that the SYS functions in your case give you the information you want, but they are not necessarily giving you the directory where the setup program installed the files. Those functions give you the directory where you are running the program from. If you install a program and want something to automatically happen immediately after the installation process on the installed files, you can't because programatically you don't know where the user decided to place your program files.
You also don't have a pointer to the location of the installation files which could be useful as well.
Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown