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

Frequently Asked Questions

Is there a command line mode to access Cortex?

Electronic Formations
Cortex is fully managed via an intuitive web interface which leaves no need for the traditional command line interface.

How do I access command-line arguments?

OOPS FAQ - Page 18
Latest Answer: Command line arguments can be accessed by using a string type and integer type variables as the main... Latest Answer: Both aggregation and composition are special kinds of associations. Aggregation is used to represent...

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 can I setup my computer so that I can access Java from the command line?

Java FAQ
You need to add the directory where java.exe and javac.exe are to your system path. These files will be in a directory bin under your Java installation. In Windows NT, go to Start -> Control Panel -> System. Select the Advanced tab, and press the Environment Variables button. If you already have a PATH variable (note, case does not matter), then edit it to add the full path to the Java bin directory. in variable value.

Where can I obtain an object selection profile for Command Line Mode?

Apex SQL Tools - SQL Tools for Auditing, Comparison, Recover...
See Import/Export section in our FAQ on how to Export a selection profile. The exported profile can be passed directly to the Command Line Interface via the /includes switch.

Can I force the storage into snapshot mode from the command line?

DirectoryStorage FAQ
If you are using version 1.1.9 or earlier then you can use the same technique, but the snapshot.py command-line is a little longer. Also that version of snapshot.py needs to have Zope running. If for any reason you are not, or can not run Zope, try this script: from DirectoryStorage.Full import Full from DirectoryStorage.Filesystem import Filesystem fs = Filesystem('/this/is/the/path/to/my/storage') storage = Full(fs,synchronous=1) storage.close()

What is Cortex?

Electronic Formations
Cortex is an embedded system that comprises full Firewall and QoS functionality in a single box. It was designed to be a full network control and management system that provides network administrators with the essential tools to secure and maintain the efficiency of their network environments.

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 change access permissions from the command line?

Environment settings set by a batch file are not working.
A utility called CACLS.EXE comes as standard with NT, and can be used from the command prompt. Read the help with the CACLS.EXE program (cacls /?). To give user john read access to a directory called files enter: e is used to edit the ACL instead of replacing it, therefore other permissions on the directory will be kept.

How do I run Plugins from the command line and access a knowledge base?

Nessus
You can have the NASL interpreter load the knowledge base for a specific host with the "-k" option. For example, you could test for the First4Internet CodeSupport ActiveX control by running: Note: this requires that you have access to the KB and that the KB has already been populated by any Plugin dependencies. This is a problem between the Microsoft Windows Operating System settings and the InstallShield product that is used for installing and removing Nessus Windows.

How to access variables or functions in a Ch program from Ch shell command line?

Frequently Asked Questions for Ch
In Ch shell, You can access variables or functions in a Ch file if they are global variables or functions. For example, if you have a file called test.ch, You can access variable var in Ch shell after running the "test.ch". The following example is an example for accessing function in a Ch file from Ch shell. cat test.ch /* this is the file test.ch */ #include int var = 5; var += 1; // or any other statements Here is an example how it can be done in a Ch shell. > cat prog.

My BugPort is hosted on a remote server and I have no command line access, how do I deal with that?

Admin FAQ
The only issue truly needing command line access is the password file generation step. This is where you need to run apache's htpasswd binary to provide authentication information. There are a few possible solutions. You could either download apache for windows or make temporary use of a linux box with apache installed. Keep in mind that your server host will have to be running apache in order to use the file generated by htpasswd. In addition, your server apache will have to be setup to allow .

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

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact