Solved

how to execute a .exe using kix script

Posted on 2011-09-09
1
485 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

710 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