Top "Command-prompt" questions

The command prompt is the string of text that a command-line interpreter displays to you, the user, to prompt you for input in interactive mode.

How to run a command on command prompt startup in Windows

EDIT If you want to perform any task at computer startup or based on an event this is very helpful …

windows cmd command command-prompt
PS1 line with Git current branch and colors

Here is my current PS1: export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' How can I display the …

git command-prompt bash
Running command line commands within Ruby script

Is there a way to run command line commands through Ruby? I'm trying to create a small little Ruby program …

ruby command-line scripting terminal command-prompt
Remove proxy settings from the windows command prompt

I had set proxy settings in cmd when I was in a proxy network as follows: set http_proxy=http://…

windows cmd proxy command-prompt http-proxy
What is `cmd /s` for?

The Windows command prompt (cmd.exe) has an optional /s parameter, which modifies the behavior of /c (run a particular …

windows command-prompt
Hide input on command line

I know that command line interfaces like Git and others are able to hide input from a user (useful for …

java command-line input user-input command-prompt
How to print current directory name via MS-DOS commands

I need to print current directory name after CD command. Is it possible to do? Thanks! echo off echo. echo …

windows command-line command-prompt
Modify cmd.exe properties using the command prompt

Isn't that nicely recursive? I've got a portable command prompt on my external drive, and it has a nice .bat …

command-line command-prompt cmd
How to prompt an SQL query user to input information

I have a query that I wrote in SQL server that will be run mainly by people who don't know …

sql-server variables command-prompt prompt
Batch ERRORLEVEL ping response

I'm trying to use a batch file to confirm a network connection using ping. I want to do batch run …

windows batch-file command-prompt ping