Scripting Question

Simple Autoit script help

06/14/2019 398 views

I don't use Autoit much at all, but need to edit a current script someone else created. I need to run an .exe from the root of C:\ to apply a license. location:  C:\IBM\SQLLIB\BIN\db2licm.exe" -a db2consv_ee.lic . Not sure what the command would be in Autoit, Any help would be appreciated.

0 Comments   [ + ] Show comments


All Answers



RunWait(@ComSpec & " /c " & "C:\IBM\SQLLIB\BIN\db2licm.exe" -a db2consv_ee.lic","",@SW_MINIMIZE)

Answered 06/14/2019 by: SMal.tmcc
Red Belt

  • if the license file is not in same directory it will fail without the license file full target path

Is AutoIt even needed here?

A simple batch file should work here.



db2install_path\bin\db2licm -a filename
Answered 06/23/2019 by: nagendrasingh
Black Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ