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

Frequently Asked Questions

edit] Can Inkscape be used from the command line?

FAQ - Inkscape Wiki
Yes, Inkscape has a powerful command line interface and can be used in scripts for a variety of tasks, such as exporting and format conversions. For details, refer to the manual page (online, or via the Help > Command line options command, or by man inkscape on Unix). Using command line interface on Windows has certain limitations and specifics.

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 edit resources from the command line?

F.A.Q. - What is a PE file format? * Delphi disassembler? * ...
Resource Tuner Console, a command line batch processing version of the resource editor is available for download. More on RT Console...

Can I add/edit users from a command line ?

Fortress FAQ
Answer: Yes, you can accomplish this by using the NET.EXE command line application. The Help for the command is:

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

edit] Why aren't emails being sent when using faxrcvd on the command line works?

FAQ - hylafax.org
Your rights setting for sendmail is probably incorrect. This means that your group rights doesn't change to smmsp and you therefore don't have rights to /var/spool/clientmqueue. Check the sticky bit for the group used by the sendmail program. usr/sbin/sendmail may point to /etc/alternatives/mta which probably points to /usr/sbin/sendmail.

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', '-|:|--' )

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.

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.

Why does XWin.exe ignore the display depth that I pass on the command line?

Cygwin/X Frequently Asked Questions
When running in windowed mode or GDI-based fullscreen mode, XWin.exe must run the X Server at whatever display depth Windows is currently using; in these cases the display depth passed on the command line is ignored. XWin.exe only uses the display depth parameter when running in a DirectDraw-based fullscreen mode, as DirectDraw allows applications to change the display resolution and depth when running in fullscreen mode.

Can I edit the newsgroups line when making a post ?

news.answers/waffle-faq
Not directly, but you can 'followup groupA groupB' and get the same functionality. Same goes for mailing a reply to somebody and also kicking your reply to somebody else.

edit] What formats can Inkscape import/export?

FAQ - Inkscape Wiki
Inkscape natively supports opening or importing SVG, SVGZ (gzipped SVG), PDF, and AI (Adobe Illustrator) formats. With the help of extensions, Inkscape can open a number other vector formats. For importing PostScript or EPS, you need to install Ghostscript and make sure ps2pdf is in your PATH. For formats of Dia, XFig, or Sketch, you need to have these programs installed. For CorelDraw, CGM, and SK1 files, you need to have UniConverter installed.

Q104: What are the command-line switches for Quarterdeck's products?

DESQview/QEMM Frequently Asked Questions: READ BEFORE POSTIN...
Q101: What products does Quarterdeck sell, and what are the current versions? A101: [Versions are the latest known as of the date of the FAQ. If you see a newer version, please let me know.] Quarterdeck has two types of ''upgrades'': major upgrades and compatibility updates. The former involves a changing of the digit before or immediately after the decimal point and represents significant enhancements to the product's performance.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact