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

Frequently Asked Questions

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.

Can I run NTBACKUP from the command line?

Environment settings set by a batch file are not working.
ntbackup <operation> <path> /a /b /d "text" /e /hc:<on/off> /l "<filename>" /r /t <backup type> /tape:n /v This will be backup . If you wanted to eject a tape you could enter eject (but must also include the /tape parameter) The list of drives and directories to be backed up. You may not enter file names or use the wildcard character. To backup multiple drives just put a space between them, e.g. ntbackup backup c: d: etc..

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 send an attachment in the discussion?

Academic Computing Website & Blackboard FAQ
Some (but not all) faculty will allow attachments to be incorporated into a discussion. If your discussion permits attachments, you will see a field next to Attachment. Do not type anything into the empty field! Click the Browse button. The same technique will be used if a faculty member asks you to submit your assignment digitally. This may be done through a Turnitin assignment (to check your work for plagiarism), through a digital e-assignment, or via the digital dropbox.

HOW DO I SEND AN ATTACHMENT?

English 102 FAQs
All e-mail programs are slightly different. Once you have finished typing your document, save it. Then, go into your e-mail program and open a message. You should then see a button to click that says "ATTACHMENT" or simply "ATTACH". Click on that button. You will then be looking at a menu to find your saved document. Once you find your saved document, double click on it, and it should then appear in your e-mail header as an attachment.

How do I draw a line to replace the functionality of VB6's Line command?

General - Windows Forms FAQs
Try this code: Dim g as Graphics g = frmMain.CreateGraphics() g.DrawLine(Pens.Black, new Point(0,0), _ new Point(frmMain.ClientRectangle.Width), frmMain.ClientRectangle.Height) g.Dispose() This should draw a line from the upper left to the bottom right...

Is there a CLI (command line interface) version?

Team Discovery TSC FAQ - dslreports.com
First, of course install TSC. Open TSC and right click on the icon in your task bar (near the clock). Select properties. Set your candidate queue to whatever you want. I max mine out. If you have a dialup computer, unselect the online tab. Click ok, and then right click again and select exit. In this directory, there is a file called readme.txt.. it might be a good idea to read this. It's kind of hard to understand. Now edit (with notepad or something like it), the file called launch.

How do I train SpamBayes (command line method)?

SpamBayes FAQ
Given a pair of Unix mailbox format files (each message starts with a line which begins with 'From '), one containing nothing but spam and the other containing nothing but ham, you can train SpamBayes using a command like: python sb_mboxtrain.py -g ~/tmp/newham -s ~/tmp/newspam The above command is OS-centric (e.g., UNIX, or Windows command prompt). You can also use the web interface for training as detailed above.

How do I pass command-line arguments to a test execution?

JUnit FAQ
If the number of parameters on the command line gets unweildy, pass in the location of a property file that defines a set of parameters. Alternatively, the JUnit-addons package contains the XMLPropertyManager and PropertyManager classes that allow you to define a property file (or XML file) containing test parameters.

How do I get the plot command to cycle through line-types?

MATLAB Frequently Asked Questions
MATLAB v4.1 has a an axis property LineStyleOrder for this. Monochrome users can tell MATLAB to always use white lines and cycle through their favorite line styles with the commands: set( 0, 'DefaultAxesColorOrder', [1 1 1] ) set( 0, 'DefaultAxesLineStyleOrder', '-|:|--' )

My attachment is larger than 10mb. Is there another way I can send my attachment?

HMS Student Computing Support Site - FAQ
Yes. The HMS IT Department has a web-based application, Secure Remote File Transfer, that allows you to send large files over the Internet for a recipient to access. Go to the HMS IT website and click on the link, Applications. Then, click on the link, Secure Remote File Transfer and log in to the site by carefully following the directions.

Can I print out a story or send it to friends as an attachment or duplicate a CD ?

Baby Bird Productions Frequently Asked Questions
No. I'm afraid that we must remind you that all of our stories and artwork are protected by copyright law internationally. Each purchase price is for one CD or a download to one computer and it is illegal to duplicate for distribution and to send or print out any part of any story.

How can I get command line editing to work?

R FAQ
The Unix command-line interface to R can only provide the inbuilt command line editor which allows recall, editing and re-submission of prior commands provided that the GNU readline library is available at the time R is configured for compilation. Note that the 'development' version of readline including the appropriate headers is needed: users of Linux binary distributions will need to install packages such as libreadline-dev (Debian) or readline-devel (Red Hat).

How can I process command-line arguments?

Andy Mc's C# FAQ for C++ programmers
Like this: using System; class CApp { public static void Main( string[] args ) { Console.WriteLine( "You passed the following arguments:" ); foreach( string arg in args ) Console.WriteLine( arg ); } }

How do I search files for a string from a batch file/command line?

Environment settings set by a batch file are not working.
There is the basic find command which allows you to search one file at a time for string, however findstr is far more versatile. The command has the following switches FINDSTR [/B] [/E] [/L] [/R] [/S] [/I] [/X] [/V] [/N] [/M] [/O] [/F:file] [/C:string] [/G:file] [strings] [[drive:][path]filename[ ...]] When you execute a batch file (or any other DOS command without a pif setting) the _DEFAULT.PIF file in the %systemroot% directory is used.

edit] What if I can't run rebuild Messages.php from the command line ?

MediaWiki FAQ - Meta
If you don't have access to a shell/command line (usually the case with third party hosting services) then you may find you can use Martin Geisler's phpShell software to achieve the desired result (unless SAFE MODE is not set for php). Installation problems are sometimes weird and hard to diagnose.

How can I improve the performance of the source code control command-line tool?

Jim Lamb : Team Foundation Server FAQ
You can use Visual Studio 2005 to compile your application and specify that it should run on a 64-bit operating system either as a native application or under WOW64; however, Visual Studio 2005 itself (including Team Suite and the role-based editions) is a 32-bit application and when installed on a 64-bit Windows operating system will run under WOW64. Likewise, Team Foundation Build is a 32-bit application and when installed on a 64-bit Windows operating system will run under WOW64.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact