D
D
densaface2015-05-25 22:36:45
cmd/bat
densaface, 2015-05-25 22:36:45

How to delete in windows cmd from current cursor to end/beginning of line?

I often encounter the need to delete from the middle of the line starting from the current cursor position to the end of the command, which I select from the history with the up arrow in the console. The commands are long, 1000 characters each, so the option to press the to-do button and wait until the end of the command is deleted is not a very good option. In Linux, I met some such keyboard shortcut, maybe someone knows that such a combination is also in Windows?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Goncharov, 2015-05-25
@densaface

CTRL+SHIFT+END

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question