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

Frequently Asked Questions

How do I hide the output of the send command?

Expect FAQ (Frequently Asked Questions)
From: tim@mks.com (Timothy D. Prime) Subject: Re: hide the text of expect's send command? Date: 29 Mar 1996 15:41:02 GMT In article <khughesDoy1yH.5zo@netcom.com>, Kirby Hughes <khughes@netcom.com> wrote: > I don't want to see (on the screen) the text sent by a "send" command. Is > there a way to hide it? "log_user 0" works for text coming back to me, but > doesn't (seem to) work for sending..

How do I save the output of command that I have executed?

COSC 2410: Computer Organization and Programming Lab Web Pag...
To save the output of a command that you have executed you must first open a DOS command prompt. At the command prompt type "[EXECUTABLE] > [DESTINATION FILE]" and press enter. The string "[EXECUTABLE]" is the name of the command which you wish to save the output of. The string "[DESTINATION]" is the name of the file in which you wish to store the output. Once you have pressed enter, you have saved the output to a file with the name in which you specifed in the destination.

How can you send a programs output to a NULL device?

Environment settings set by a batch file are not working.
If you wish to suppress a programs output you can use the NULL device (as you would use UNIX's /dev/null). For example to make a program output to the NULL device instead of the screen use:

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..

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).

How can the output of a command line operation be retrieved?

AutoHotkey FAQ
Testing shows that due to file caching, a temporary file can be very fast for relatively small outputs. In fact, if the file is deleted immediately after use, it often does not actually get written to disk. For example: RunWait %comspec% /c dir > C:\My Temp File.txt FileRead, VarToContainContents, C:\My Temp File.txt FileDelete, C:\My Temp File.txt To avoid using a temporary file (especially if the output is large), consider using CmdRet. Alternatively, there is a small freeware utility cb.

How to send AT command using microcontroller?

Cytron Technologies - Robot . Head to Toe
Microcontroller must be configure to the correct baud rate for UART, setup UART configuration according to each microcontroller spec. Microcontroller must send AT command in Hex code. Try to search for ASCII to Hex code converter in website. Here is one: http://centricle.com/tools/ascii-hex/ . For example, to send "AT", microcontroller should send 0x41 and follow by 0x54.

What if the phone is switched off when I send a command?

Spyphones, spyphone software, sms and text message intercept...
When the phone is switched back on, your command will then get through and perform your request without giving any indication to the target phone. Yes. Our software is compatible with all networks and support all languages which means even if the SIM card is changed the features will operate the same.

How do I send an attachment from the command line?

Harvard Mathematics Department : Computing: FAQ
To send a picture flower.jpg to an address euler.edu mpack -s "The picture" flower.jpg euler.edu To unpack an attachment, save the mail as a file "mail.tmp" and type munpack mail.tmp See More information on mime.

Q11: Can I Hide the Command Line Window?

WinAudit - Free Computer Audit Software
No. WinAudit collects a large amount of potentially sensitive data ranging from commercial product identifiers to account details. The purpose of this window is to state clearly and unambiguously that WinAudit is collecting information. For those users who find this window an inconvenience, it may be closed by clicking the 'x' on its top right corner. Doing so does not stop the programme, it completes normally so that no data is lost.

How can I send output to a Roland machine?

MecSoft Sample
In the "Program to display output file" selection, click Browse and select RolandPrint.exe present in the VisualMill installation folder ( by default this folder is C:/ProgramFiles/MecSoft Corporation/VisualMill 5.0) Machining times are calculated in VisualMill using the user specified feed rates only. However on the actual machine tool the acceleration and the deceleration of the tool come into play and this will invariably be different than the ones calculated by VisualMill.

How can I send something to an output file?

EE271/272 Verilog FAQ
There are many system tasks that are used for outputting to a file. Basically you need to open the file for writing, before you can write to it. This is a little module that prints "Hello" to the output file foo.dat. The Verilog-XL manual in Sweet Hall has more extensive documentation on the various system calls (try page 20-14).

How can I hide certain parts of the output of a TICS client run?

All TICS output can be switched on and off separately. By default all TICS output is switched on. The TICS output consists of the following items: If you want to switch off certain parts of the TICS output, you have to specify what you do want to see. So in case you are not interested in the logo and the timeinfo you should run TICS with the options "-results -overviews -totaloverviews".

So, where do they hide?

Paris Frequently Asked Questions
Then again, not all designer depots were created equal, and where you go shopping for practically-perfect-in-every-way designer clothes is the true measure of your inside knowledge of the city. I would like to recommend you three 'petites adresses' [the French for 'best-kept-secret places'] I selected amongst a host of others. For those of you, ladies, who like the classic look, 'Priscilla' is the shop for you. Priscilla is lady who owns the place.

Why does the RedHat script command write the prompt so many times in the script output ?

ADIOS FAQ
There appears to be a bug in the script command which can be ignored by simplifying the prompt as follows (assuming you are the root user your prompt will end with #). cat file-generated-by-script | sed 's/.*#/ADIOS #/' > new-script-file

Sect. 18) OK, how do I read the output of a command?

Java Programmer's FAQ - Part D
above (18.8, 18.9), adjusted like this: BufferedReader pOut= new BufferedReader( new InputStreamReader(p.getInputStream())); try { String s = pOut.readLine(); while (s != null) { System.out.println(s); s = pOut.readLine(); } } catch (IOException e) { } Another possibility is to read chunks of whatever length as they come in: ... p = r.exec(cmd); InputStream is = p.getInputStream(); int len; byte buf[] = new byte[1000]; try { while( (len = is.

Why doesn't the OUTFILE command automatically create the directory for the output file?

Readme for analog -- FAQ
Actually, most programs don't do this. It's too easy to create directories in unrelated parts of the filesystem if you make a typo.

Is there a way to hide perl's command line from programs such as "ps"?

Perl FAQ
Generally speaking, if you need to do this you're either using poor programming practices or are far too paranoid for your own good. If you need to do this to hide a password being entered on the command line, recode the program to read the password from a file or to prompt for it. (see question 4.24) Typing a password on the command line is inherently insecure as anyone can look over your shoulder to see it.

How can I make a command send an email when clicked?

Professional Pulldown Menus Builder. DHTML Pulldown Menu Gen...
Follow these easy steps: Select the Command. Click on the Click Action. Select Open URL / Execute Script from the Action Type list. Type this in the URL/Script text box: mailto: username@domain.com.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact