Skip to main content

How To Transfer Command Prompt Result To (be) a File

In this post I want to share how to transfer the result of CMD / MS-DOS (Command prompt) to a file.
Different from previous post How To copy contents from Command Prompt to Notepad or Ms.Word that we copy the displayed contents in command prompt then we paste it  in a notepad or word document. 
In this post we don't need to copy and paste, because the result will be created in a file directly to a text (notepad) file.

For example : the command  ipconfig, the result  will be transferred to the text file.
We insert the character of ">" between command and name of file.
so we have to write :

ipconfig  >  ip.txt
(the file ip.txt will be created and contain result of ipconfig command )

When we need to add other command and we want to put or save the result in the same file (ip.txt), insert two characters of  ">>" between command and the file name
example :
ipconfig /all  >>  ip.txt



Open the result file using notepad





See Also :
• How To Terminate or exit Application Samsung Galaxy Tab
• 
How To Unjoin from Google Plus
• 
How To Place Text Into (over) The Picture/graphic In Microsoft Word 
• How to Protect Ms Excel File using Password 

Popular posts from this blog

How to Enable Hyper Terminal In Windows 7

Hyperterminal Windows 7. Windows 7 Hyperterminal. Hyper terminal is used for data communication via serial port com or TCP/IP Winsock. Unfortunately on Windows 7, Windows 8 and Windows 10 we can't see anymore, even though many of us who still need it, and it is not the solution if we have to go back to Windows XP. The solution :

Vaio stuck on loading screen after upgrading to Windows 10

My Sony Vaio laptop model : VPCCA16FB with originally using Windows 7 operating system, then now I already upgraded it to Windows 10. All drivers are already installed for each device, everything is OK with this Windows 10 OS. The only problem is:  when I switch the laptop on or restarting it, after vaio logo appears then it stuck with blank screen and it takes about 2 minutes. After that, then it continues to loading Windows. After I googling about the problem, I am not only the one, other people also have the similar problem with their laptops. The cause is in the Ultra Low Power State (ULPS) system. ULPS is a feature or mode in hardware (graphics card) designed to save power by reducing energy consumption to very low levels. Now the problem is solved. If you have the same or similar problem, maybe this below step will help you too.

How to deny access to a drive in Windows 10

How to disable access to drives in Windows.  One of ways to  make disable access to drives in Windows (all Windows, Windows 10, Windows 8, Windows 7, also Windows server.. ), you can use Group policy editor . Below are  the steps: 1. Press Windows + R  (to open Run command ), write gpedit.msc at Run column, then hit Enter or click OK.