If you are a student, you maybe need this easy tutorial. Here, we want to create a file from a command in command prompt. When we do a command in command prompt, we will see the result of the command in command prompt too, but in this tutorial you will find the result of your command in a file (.txt or .doc). How the way to do that? This is the simple way.
- First, open command prompt, and then type a command in command prompt. For example : ipconfig /all, tracert www.blablabla.com, and the others command. I try to use "tracert www.facebook.com", it is easy way, then add this command behind the first command " >> (file-name).(txt-or-doc)". So it will be like this : tracert www.facebook.com >> tracertfb.doc
Create File |
- When our command is executed, the file is processed to be created. The file will be automatically created when our command is being executed. So, in the image above, the file is automatically created, it is not created manually by me. This is the result of that command in the file "tracertfb.doc".
The Result |
It is easy, isn't it? Have a nice try. Good luck!
No comments:
Post a Comment