Karon
(Getting the hang of it)
2013-09-24 02:35 PM
run a kix script from a batch file

In a batch file I have the following:
 Code:
Copy "c:\Cognos\data\creditlist\*" "\\svr-resource2\home\smc\creditlist"
c:\wkix32.exe c:\kixtart\creditmgr2010


I know that the copy works, and if I manually run the batch file the 2nd line works.
But when I launch it from a different program, only the copy works.

Should I put the 2nd line in a different bat file and use call in the 1st one?
I am checking with support for the other program as well (it is IBM Cognos).
Thanks for any assistance!!


Mart
(KiX Supporter)
2013-09-24 02:59 PM
Re: run a kix script from a batch file

What happens if you also specify the script name like c:\wkix32.exe c:\kixtart\creditmgr2010\somescript.kix? Some later version of kix have an issues finding the default kixtart.kix file so it should be specified.

Karon
(Getting the hang of it)
2013-09-24 07:12 PM
Re: run a kix script from a batch file

I am running that one today!
I am also re-arranging the macro to put the launching of the bat file after the reports part if closed.

Experimentation!!


Karon
(Getting the hang of it)
2013-09-25 02:18 PM
Re: run a kix script from a batch file

The rearrangement did the trick!

Mart
(KiX Supporter)
2013-09-25 05:32 PM
Re: run a kix script from a batch file

Great.