The way I do it is to specify the various directories that forms are likely to be in using the FORMS_PATH environment variable (set in your environment file (default.env for the default one).
Then as long as your form name is unique it will find the form without you need to specify a directory at all.
Thanks for your response.
In this case , we have to many difference directories in legacy system.
FORM_PATH must be under some maximum length restriction and may exceed max length in this scenario
Is is possible to change AliasMatch in forms.conf for url pattern matching ?
Thanks for your reply , simplify level of directories is a hard work for my situation because there are so many physical path (such as c:\MIS\AD\abc.fmx) hard code in the legacy system.
It would raise high risk in such a short term project.
Maybe it would become a solution if we haven't find out any better way to do this.
Thanks again for your support!.