Learn More
Search site for:
News »
Scroll Up for Recent News
ASI Launches new Beta Progam
Appx Software, Inc has launched a new beta program ...

[Read Full Article]


Appx 5.0 Released!
The long awaited Release 5 of Appx is available ...

[Read Full Article]


Appx 5.0 Beta for Windows is Ready!
The Windows version of Appx Release 5.0 Beta is ready...

[Read Full Article]


Appx 5.0 Linux Beta is Ready!
Appx Release 5.0 Beta is ready. This Release includes ...

[Read Full Article]


Caylx Retires from Distribution
Following 33 years of working with the SPEED I, SPEED II and APPX...

[Read Full Article]


Appx Blog
Appx Blog Online
ASI has started a blog! This is an excellent way...

[Read Full Article]


Appx Conference 2007
We're pleased to report that our first European APPX Conference proved to be...

[Read Full Article]


Appx Conference 2007
Still haven't decided if the Appx Conference is for you? First of all, it's a great way...

[Read Full Article]


CWI Hosts European Conference
For some years now, ASI has been hosting tremendously successful APPX conferences in the USA...

[Read Full Article]


4.2.a Patch
ASI announces the APPX 4.2.a Patch Release is now available for download ...

[Read Full Article]


New Registration Format
ASI provides a new format for emailed APPX registrations. Registrations are now being sent as text file attachments to...

[Read Full Article]


Conference Results
Another conference is over, and once again it provided an excellent opportunity to network, learn and socialize with VARs and customers from around the world...

[Read Full Article]


Appx Conference
You are cordially invited to join your APPX colleagues and friends at the newest "episode" of the bi-annual conference, called "APPX EX-ZOO-BERATION 2006"!...

[Read Full Article]


Minicom Joins CWI
CWI is delighted to welcome Minicom Software House Ltda, located in Brazil, to its reseller network!

For over 25 years, Minicom's team of consultants has been involved in the development and...

[Read Full Article]


Sadden Joins CWI
Sadeen Computerized Systems is an integrated solutions provider which has been offering management control software, security systems and access control software to SMEs for a number of years. Now, however...

[Read Full Article]


SWS Joins CWI
CWI is pleased to welcome SWS Software Service in Austria to its reseller network! SWS has been a very successful SPEED II reseller since 1983 and has been working with APPX since...

[Read Full Article]


Sintec Joins CWI
CWI is pleased to welcome Sintec, S.A. de C.V. from Mexico to its reseller network!

[Read Full Article]


Scroll Down for Archived News


A | B | C | D | E |F | G | H | I | J | K | L | M | N | O | P
Q | R | S | T | U | V | W | X | Y | Z


Remote Command Execution

The basic idea is that we execute a command via the RUN statement, and redirect the output to a file. The output is then displayed to the user via an APPX output process.

To download the application, click here. Since this application is only useful in Windows environments, the zip file only contains the Intel version of the APPX code. It won't work on an Risc based system, although it would work on Intel based Linux systems. Of course, you don't need it on those platforms, since you have a command prompt. Also note this uses the '/w' on the DOS command line to make APPX wait until the command finishes executing. This feature is only compatible with APPX 4.x and higher.


To install the application, follow these steps:

Create a new application called RCS. You can use any version you want, so if RCS conflicts with an application you already have, just use a different version number.
Create the Design files, and extract the file you downloaded into the $APPXPATH//RCS/Data directory.
Attach the application RCS to a database. RCS does not use any files of it's own, so you don't need to create files.


Running the application:

There is only one INPUT in RCS, just run it. You will get a scrolling screen where you can enter a non interactive DOS command (such as COPY, DIR, etc). The command will run on the server, and the results will be displayed via an APPX output process. Since it's a scrolling input, you can go back to a previous command, modify it and re-execute it by pressing Enter.

The application also demonstrates some interesting techniques, such as getting the Process Id of your process (used to create a temporary file name) and printing a plain text file without importing it into an APPX file first.

Thanks to Pat Barnes of Query Software for the original technique, and Steve Glore of Consolidated Meat Group (Australia) for adding the output redirection and display.

« Return




For additional information, contact tips@cwi-appx.com

[back to top]