QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How can I invoke an operating system command from within a program?

Infrequently Asked Questions in comp.lang.c
Ask the user to open a new shell. The best way to do this is system("echo Please open a new shell now."); sprintf(cmdstring, "echo Enter the command '%s' in it.", cmd); system(cmdstring); The traditional solution, pioneered by Microsoft, is to sell enough copies of your proprietary, slow, and limited software that everyone else supports your formats.

How can I invoke another program or command and trap its output?

System Dependencies
Unix and some other systems provide a popen function, which sets up a stdio stream on a pipe connected to the process running a command, so that the calling program can read the output (or alternatively supply the input). Using popen, the last example from question 19.28 would look like extern FILE *popen(); sprintf(cmdbuf, "sort < %s", datafile); fp = popen(cmdbuf, "r"); /* ...now read sorted data from fp..

Can I invoke my program with a command line longer than the infamous DOS 126-character limit?

DJGPP Frequently-Asked Questions List
A : Yes and yes. DJGPP supports several methods of passing command-line arguments which allow it to work around the DOS 126-character limit. These are: The !proxy method. If you invoke the program from within another DJGPP program (like Make or Gcc compilation driver), it gets the address of the memory block where the actual command line is stored. The start-up code will detect this and use that info to retrieve the command-line arguments.

How can we create the invoke command in the winrunner script?

WinRunner FAQ - Page 7
Latest Answer: Invoke is the function in wirrunner to activate any application.That can be written in the below for...

What operating system does Command!? use?

Custom Speech USA - FAQs - We teach computers how to listen
The application currently supports Windows 2000/XP, but may run with other Microsoft operating systems. Command!? for the Web browser-based application runs on any standard browser supported by Windows, Macintosh, Linux, or other operating systems.

How do I invoke a macro as part of a Visual Studio command line build?

IDE - Windows Forms FAQs
Use the following syntax: devenv.exe {Solution Name} /command {Macro name} Example: devenv.exe "myproject.sln" /command "Macros.Syncfusion.Utils.FormatProjectAndClose" Visual Studio will start up, load the solution, run the macro and...

What operating system does Command!? Call Center use?

Custom Speech USA - FAQs - We teach computers how to listen
The system is optimized for Windows 2000/XP. The configuration client and server may run on other Windows operating systems.

How do I update the Operating System for the Command Stations?

Command Station FAQ v2.03
The procedure for installing the new Operating System is simple and uses the current version of E-Loader. Once you install E-Loader, power on your Command Station while holding the ENTER button, placing the Command Station in OS receive mode. Launch E-Loader and make sure your Command Station is connected with both its MIDI in and MIDI A out ports to your computer's MIDI interface.

Can I use the make command on my operating system?

Bogofilter FAQ
Bogofilter has been successfully built on many operating systems using GNU make and the native make commands. However, bogofilter's Makefile doesn't work with some make commands. GNU make is recommended for building bogofilter because we know it works. We cannot support less capable make commands. If your non-GNU make command can successfully build bogofilter, that's great. If you encounter problems, the right thing to do is install GNU make.

Can I run the program from the command line?

Atomic Time Zone - Frequently Asked Questions
Yes. Atomic Time Zone can be operated in an unattended mode from the Windows 95/98/ME/NT/2000/XP or MS-DOS command line. This allows unattended or batch operation which allows for:

Can one execute an operating system command from PL/SQL?

PL/SQL FAQ - Oracle FAQ
There is no direct way to execute operating system commands from PL/SQL. PL/SQL doesn't have a "HOST" command, like in SQL*Plus, that allows users to call OS commands. Nevertheless, the following workarounds can be used: Write an external program (using one of the precompiler languages, OCI or Perl with Oracle access modules) to act as a listener on a database pipe (SYS.DBMS_PIPE). Your PL/SQL program then put requests to run commands in the pipe, the listener picks it up and run the requests.

Why can't I invoke ups without any arguments and then instruct it to debug a program ?

ups - Frequently Asked Questions
ups was designed from the start to get its target name from the command line. You can also supply the target arguments on the command line with the -a option. See ups Command Line Arguments. You can also add or edit arguments within ups by editing the target text at the top of the display window. See Target Command Line Arguments. You can also attach and detach to specific instances of the target from within ups via the attach and detach buttons - see The Source Region.

What is the annual operating costs of this program?

Maryland DNR - Tributary Strategies
The annual operating costs of this program is about $300,000. Each of the ten watershed-based Tributary Teams throughout Maryland has between 30 and 35 volunteer members, and is supported by a state agency staff person. Each team is chaired by a team member elected by the team, and meets once a month to make decisions regarding various issues and projects. In addition to staff, each tributary team has one state agency representative as a team member on their team.

What countries is this program currently operating in?

QuickPaidSurveys.com? ...Where you get paid for your opinion...
The QuickPaidSurveys.com® program is available worldwide. We currently have Members in over 70 different countries. Join today to become a member. Click here. This is a very popular question from our clients outside of the United States and Canada. We have many Members outside of the US and Canada working and implementing our system and doing VERY well, and so can you. The principles behind the QuickPaidSurveys.

What operating systems are included under the program?

Frequently Asked Questions
The MAR program currently only provides Windows 98 SE. Regardless of the operating systems installed on the machine when donated, if all license documentation has been lost Windows 98 SE will be loaded.

How can I execute a command with system() and read its output into a program?

The C Language FAQ
Unix and some other systems provide a popen() routine, which sets up a stdio stream on a pipe connected to the process running a command, so that the output can be read (or the input supplied).

Sect. 18) How do I execute a command in my program?

Java Programmer's FAQ - Part D
Use Runtime.getRuntime().exec( myCommandString ) where myCommandString is something like "/full/pathname/command". An applet will need to be signed in order to allow this. If the pathname contains spaces, e.g. "c:\program files\windows\notepad", then enclose it in quotes within the quoted string. Or pre-tokenize them into elements of an array and call exec(String[] cmd) instead of exec(String cmd). From JDK1.3 there are two new overloaded Runtime.exec() methods.

Can I control RecordPad from the command line or from my own program?

RecordPad Professional Sound Recording Software - Frequently...
Yes. RecordPad has it's own SDK which explains all the options. Please see www.nch.com.au/recordpad/sdk.html.

Can TCPWRAPPERS automatically invoke DenyHosts per login attempt?

DenyHosts Frequently Asked Questions
Apparently, yes! Thanks to Tilo Winkler for providing an example of spawning DenyHosts from TCPWRAPPERS.

Q. Is your program compatible with Windows CE operating system and other PDA operating systems?

Oxygen Software :: Oxygen Phone Manager - PC software for No...
A. No. We don't support synchronization with PDA devices at present. Indeed, it is one of our prior taks, but we cannot say precisely, when we will implement support for such devices.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact