Solved

how to execute a .exe using kix script

Posted on 2011-09-09
1
479 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
allswap challenge 6 99
Path of Workbook 3 79
advertisement module in core php 4 164
T-SQL:  Sigh---Boy, this is fun.... 12 48
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

832 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