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 change current working directory using a batch file

I need some help in writing a batch file. I have a path stored in a variable root as follows: …

batch-file directory command-prompt drive
Run a Command Prompt command from Desktop Shortcut

Is it possible to create a desktop shortcut that, when pressed, will open command prompt and run a pre-defined command?

windows command-line command-prompt shortcuts
How can I set / change DNS using the command-prompt at windows 8

How can I set my DNS settings using the command-prompt or bat file at windows 8 I tried this: netsh interface …

windows-8 dns command-prompt
How do I run a program from command prompt as a different user and as an admin

I am using "runas" to open command prompt as a different user but that command prompt is not running as …

command-prompt administrator
How to start jenkins on different port rather than 8080 using command prompt in Windows?

I have jenkins.war and I started it from command prompt in Windows as: java -jar jenkins.war It was …

windows command-line jenkins war command-prompt
Prevent overwriting a file using cmd if exist

I am currently writing a .bat batch file that executes an installation file. Before it runs the installation file I …

batch-file cmd command-prompt
Run Command Line & Command From VBS

I need to run a command to copy a file from one location to another through Command Prompt using a …

vbscript command-prompt
Opening Chrome From Command Line

I have the following batch file: @echo off REM Starts a chrome browser with multiple tabbed sites C:\Users\UserName\…

windows google-chrome batch-file command-prompt
Compiling/Executing a C# Source File in Command Prompt

How do you compile and execute a .cs file from a command-prompt window?

c# command-line compilation command-prompt
What is the alternative for ~ (user's home directory) on Windows command prompt?

I'm trying to use the command prompt to move some files, I am used to the linux terminal where I …

command command-prompt home-directory