/build/static/layout/Breadcrumb_cap_w.png

Simple Autoit script help

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

Answers (2)

Posted by: SMal.tmcc 1 year ago
Red Belt
0

try

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


Comments:
  • if the license file is not in same directory it will fail without the license file full target path - SMal.tmcc 1 year ago
Posted by: nagendrasingh 1 year ago
Black Belt
0

Is AutoIt even needed here?


A simple batch file should work here.

=====================================

https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.qb.server.doc/doc/t0006749.html

db2install_path\bin\db2licm -a filename

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:

Share

 
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