Oto Shavadze
Oto Shavadze

Reputation: 42753

new empty line in cmd

When I open cmd, the default value is:: C:>Users\otariki>

When I press ENTER on keyboard, one new line is written C:>Users\otariki>

In new line, I do not need the C:>Users\otariki> string. I need an empty line. Please tell me how to do this?

Upvotes: 0

Views: 626

Answers (3)

programjm
programjm

Reputation: 50

You can type

echo off

into the CMD window, so it will not prompt you at all but you can still type in commands.

Upvotes: 0

dbenham
dbenham

Reputation: 130819

You can use PROMPT $H to get the appearance of what you want.

Each line will be empty, starting in the 1st position.

But in reality each line will start with <backspace><space><backspace>

Upvotes: 0

BugFinder
BugFinder

Reputation: 17858

This is the "PROMPT" variable, you cant set it to nothing when its nothing it defaults to the one you had.. nearest you can have is a space.. but.. prompts are useful, indicates the command finished and isnt just waiting, as well as normally tells you where you are.

Upvotes: 1

Related Questions