Share via


Cannot paste the tab(\t) symbol in Command Window

Question

Wednesday, December 9, 2015 3:42 PM

Hi,

My version is 10586, I'm experiencing following issues with the Command Window:

1. When paste a text which contains the tab(\t) symbol, the tab symbol is missing. For example, "aa s d" becomes "aas d" after the paste.

2. Windows API ReadConsoleInput cannot detect the Ctrl+C event. In windows 7, the function would produce following events, but in Win 10, the 2nd event is missing:

    1). key down: 'ctrl'
    2). key up: 'ctrl+c'
    3). key up: 'ctrl'

Not sure if those issues can be recurred in other PC, or just something wrong with my computer.

All replies (3)

Wednesday, December 16, 2015 1:54 AM ✅Answered

Hi,

There is no built-in tab character for command prompt as far as I'm aware of. I tested on our test environment, and the CMD window won’t recognize “tab” symbol on Windows 10 if you simply click it, however, CMD window on Windows 7/8.1 act as same as Windows 10.

If you need to display a tab on command prompt, you could @echo to show a tab symbol from a script.

Regards,

D. Wu

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].


Saturday, December 12, 2015 10:10 AM

Open start and search for Feedback App and open it and report this issue.


Saturday, December 12, 2015 5:51 PM

The command prompt is enhanced or changed for windows 10. A search for windows 10 command prompt will find at the top improvements or discussions. So I suspect that is what you are seeing.

Not quite sure what you mean about the tab, that appears the same as Windows 7 but probably looking at it wrong.

The ctrl+c is part of the enchantments and is now used by the command prompt for copy. On the command prompt windows menu (top left) under Defaults and Properties on the Option tab there is a 'Use legacy console (requires relaunch)' try that see if that helps what you are seeing.