/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 5 years 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 5 years ago
Posted by: nagendrasingh 5 years 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
 
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