Application Path

a.bibi
a.bibi Member Posts: 2
Hey all! I want to ask u if there's a function where u can retrieve the path of Navision application(finsql.exe or fin.exe) if there isn't any integrated function within Navision, is there an alternate solution for that? Any help would be greatly appreciated.Thanks in advance.

Comments

  • diptish.naskar
    diptish.naskar Member Posts: 360
    Hi,

    If you are using the 5.0 version of NAV then yes it is possible by using the function APPLICATIONPATH. Use this function to return the path to the directory where the executable file for Microsoft Dynamics NAV is installed.

    But I don't think any such function is present in the earlier versions of NAV like in 4.0/3.7, you can use the CONTEXTURL function but it will give you the path of the database and the company name that you are currently working upon. I don't think this will be much of a use to you.
    Diptish Naskar
    For any queries you can also visit my blog site: http://msnavarena.blogspot.com/
  • ayhan06
    ayhan06 Member Posts: 210
    in registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\finsql.exe", the key named "Path" will give you the path of finsql.exe.

    now you may ask how to read registry key in navision :) search the forum for this.