Top "Command" questions

A command is a directive to a computer program acting as an interpreter of some kind, in order to perform a specific task.

Create a command shortcut for NERDTree in Vim editor

I'd like to create an abbreviation for NERDTree on the command-line. I find it annoying have to write :NERDTree every …

vim command-line command nerdtree
PowerShell "echo on"

This is a duplicate of https://serverfault.com/questions/102098/powershell-script-showing-commands-run. I thought it would be more appropriate to ask this …

powershell command echo
Send ESC commands to a printer in C#

My application needs to print invoices, then a get the invoice from database, insert information on the invoice in a …

c# printing command epson
Binding commands to ToggleButton Checked and Unchecked events

I have a ToggleButton in my C# WPF application where I would like to bind one Command to the Checked …

wpf xaml command togglebutton
link several Popen commands with pipes

I know how to run a command using cmd = subprocess.Popen and then subprocess.communicate. Most of the time I …

python command subprocess pipe popen
Getting the return value of a command executed using backticks in Perl

I can do the following in bash: output=`command` retcode=$? Is there any way to do the same in Perl? …

perl command return-code
What is the AT command to reset USB cellular modem?

What is the AT command sequence used to reset a USB cellular modem? Is there a single AT command that …

command at-command
c# execute shell command and get result

I am executing a command prompt command as follows: string cmd = "/c dir" ; System.Diagnostics.Process proc = new System.Diagnostics.…

c# shell command output prompt
How do you bind a command to a MenuItem (WPF)?

Here is my code from the View.xaml.cs: private RelayCommand _closeCommand; public ICommand CloseCommand { get { if (_closeCommand == null) { _closeCommand = …

wpf data-binding command menuitem relaycommand
Executing a Command from Java and Waiting for the Command to Finish

In my Java program, I create a process that executes a command to run a batch file like this: try { …

java batch-file command exec execute