Solved

how to execute a .exe using kix script

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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 …

746 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

12 Experts available now in Live!

Get 1:1 Help Now