Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to execute a .exe using kix script

Posted on 2011-09-09
1
Medium Priority
?
488 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 2000 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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 …
Simple Linear Regression

705 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