Open Command Prompt.
Right-click the top result and select the Run as administrator option.
Type the following command to save the output to a text file and press Enter: YOUR-COMMAND > C:\PATH\TO\FOLDER\OUTPUT.txt
In the command, change "YOUR-COMMAND" with your command and "c:\PATH\TO\FOLDER\OUTPUT.txt" with the path and file name to store the output.
Extract text from command prompt window
When I upgraded to Windows 11
The command windows changed. I assume it is a progress to have multiple command windows within a single window but I miss a feature I use a lot
Previously I could extract a text from a command windows and paste it in another window. After selecting a text with the cursor and click right I got some options to extract the selected text
and then I could paste it anywhere.
This does not work in the new command prompt. I miss it. Can I use the old command window application still? I do not find anything on the System32\ directory
Windows for business Windows Client for IT Pros User experience Other
3 answers
Sort by: Most helpful
-
S.Sengupta 24,476 Reputation points MVP
2022-12-04T02:48:16.383+00:00 -
MotoX80 36,291 Reputation points
2022-12-04T13:49:12.76+00:00 You are referring to the new Terminal application. Check your settings to see if they match my Win11 settings.
You can also launch a command prompt (or set it as the default) if you don't want Powershell. That what the "PS" on the prompt indicates.
Click the "v" and select settings.
This works for me.
You can still use the command prompt. In the search field just type in cmd. Open the app.
Click the icon in the upper left and select properties. Verify that you have quick edit enabled.
-
Docs 15,761 Reputation points
2022-12-04T17:28:09.623+00:00 Do you want to copy and paste?
What is meant by extract?
The full window can be copied to notepad and the selected portion pasted into a desired location.
.
.
.
.Please remember to vote and to mark the replies as answers if they help.
On the bottom of each post there is:
Propose as answer = answered the question
On the left side of each post there is /\ with a number: click = a helpful post
.
.
.
.
.