How to use license files as parameters

venkateshvenkatesh Member Posts: 51
hello all,
I want to pass the path of the License file as a parameter in a batch file. i gave the following in the batch file

License file =C:\Documents and Settings\Administrator\My Documents\fin.flf;

But when i run the batch file from the command prompt,it is giving me an error " The progarm property License File is unknown".

please help me to solve this problem.

](*,)

thanks

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Why do you post this in a Navision forum?

    Anyway, try the SET-command:
    SET TEMP=C:\DOS
    
    More info about DOS Batch files: The World of DOS - Creating Batch Files
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • venkateshvenkatesh Member Posts: 51
    i am sorry if i am wrong,i posted this in navision forum,becuase i am using the License file in navision.

    i wanted to start the navision from the command Prompt.

    Is it possible to pass the navision license file path in command prompt along with database path,username and password,ntauthentication,company name.?


    thanks,
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    No you can't. You can't pass the license file as a parameter to the Navision client. The only option is to replace the fin.flf in the Navision directory.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • krikikriki Member, Moderator Posts: 9,118
    No you can't. You can't pass the license file as a parameter to the Navision client. The only option is to replace the fin.flf in the Navision directory.
    But if you connect to a server, the license of the server is taken by default. You have to change the license (Tools=>License => change license) and re-open the DB. This way the other license is taken and remains active until you close the Navision client.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.