Find the folder where Navision client is located..

bobyboby Member Posts: 78
Hi there,
I need to retrieve the path (c:/program files/microsoft business..) of the navision program fle (fin.exe)..

I know ENVIRON('temp') and stuff but It's not the path I need..

Any idea :?: :?:

Thank

Answers

  • flfl Member Posts: 184
    This point is allready discussed before.

    Look with search for APPLICATIONPATH.

    muid=2Y5Y
    Francois
    Consultant-Developper

    http://www.CreaChain.com
  • bobyboby Member Posts: 78
    Thank you, I didn't know this functionality..
    I've solve my problem reading the registry key

    IF CREATE(wshShell) THEN
    FinExePath :=
      wshShell.RegRead(
        'HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\fin.exe\');
    

    with wshShell as automation variable ('Windows Script Host Object Model'.WshShell)
Sign In or Register to comment.