Page 1 of 1 1
Topic Options
#207803 - 2013-09-24 02:35 PM run a kix script from a batch file
Karon Offline
Getting the hang of it

Registered: 2009-07-16
Posts: 87
Loc: Texas
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!!

Top
#207804 - 2013-09-24 02:59 PM Re: run a kix script from a batch file [Re: Karon]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#207807 - 2013-09-24 07:12 PM Re: run a kix script from a batch file [Re: Mart]
Karon Offline
Getting the hang of it

Registered: 2009-07-16
Posts: 87
Loc: Texas
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!!

Top
#207808 - 2013-09-25 02:18 PM Re: run a kix script from a batch file [Re: Karon]
Karon Offline
Getting the hang of it

Registered: 2009-07-16
Posts: 87
Loc: Texas
The rearrangement did the trick!
Top
#207809 - 2013-09-25 05:32 PM Re: run a kix script from a batch file [Re: Karon]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
Great.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.056 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org