Solved

how to execute a .exe using kix script

Posted on 2011-09-09
1
477 Views
Last Modified: 2013-11-13
Hello

We have Kix script which gets executed during start-up. I have a .exe file which i want to execute during logon process.

Please can anyone let me know the entry in the kix script to achieve this.

Many Thanks
Anil
0
Comment
Question by:gs1uk
1 Comment
 
LVL 3

Accepted Solution

by:
Isorg earned 500 total points
ID: 36513173
use the shell command.


shell "c:\path\program.exe"

Open in new window


if you have spaces in your path use double quotes wrapped in single quotes.

shell ' "c:\program files\program\program.exe" '

Open in new window



If you are wanting to redirect output from say a ping...  call %comspec% /c before your exe.

shell '%comspec% /c ping 4.2.2.2 > ping.txt'

Open in new window


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Controlled Assessment GCSE - desperate help needed 4 75
Currency Conversion? 1 67
SUM 2 INTEGER ARRAYS INTO 1 10 92
c++ reading data from file into two dimensional array 3 92
A short article about a problem I had getting the GPS LocationListener working.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now