<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>command prompt Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/command-prompt/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 28 Jun 2023 05:25:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Command Line Magic: Secret Features and Hidden Functions of the Windows Command Prompt</title>
		<link>https://www.osradar.com/command-line-magic-secret-features-and-hidden-functions-of-the-windows-command-prompt/</link>
					<comments>https://www.osradar.com/command-line-magic-secret-features-and-hidden-functions-of-the-windows-command-prompt/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 06 Jul 2023 17:20:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command prompt]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=39090</guid>

					<description><![CDATA[<p>Many people think that the Command Prompt in the Windows operating system is boring. However, today I bring you a series of curious tricks that will change your mind. In addition, you will learn about functions that you probably did not expect. The Command Prompt is present in Windows 11 and previous versions. Moreover, it [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/command-line-magic-secret-features-and-hidden-functions-of-the-windows-command-prompt/">Command Line Magic: Secret Features and Hidden Functions of the Windows Command Prompt</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Many people think that the Command Prompt in the <a href="https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands" target="_blank" rel="noreferrer noopener">Windows </a>operating system is boring. However, today I bring you a series of curious tricks that will change your mind. In addition, you will learn about functions that you probably did not expect. The Command Prompt is present in Windows 11 and previous versions. Moreover, it is one of those parts unknown to many, with too many reminiscences of the past for others. It even seems to be boring and almost useless for a good number of users.</p>



<p>Certainly, it is the last thing we can see within Windows that reminds us of what was MS-DOS. However, what we do have to disagree on is its usefulness. Indeed, the possibilities it offers are almost endless. In fact, it has an enormous scope, something that many people ignore. But not everything stays there. In fact, it can even be fun to use the Command Prompt, or at least a lot more fun than we might imagine. Let&#8217;s take a look at some unexpected, amusing, and even bizarre features hidden in the Command Prompt.</p>



<h2>Customize the appearance</h2>



<p>Although you may find it strange, the command <a href="https://www.osradar.com/12-useful-commands-for-the-command-prompt/" target="_blank" rel="noreferrer noopener">prompt</a> can be customized: You can change the background color, the tab name, search for text and more. To do so, the following must be done:</p>



<ul><li>We enter the <strong>Command Prompt </strong>by typing the same in the search area of the taskbar and clicking <strong>Open</strong> when the option comes up.</li><li><strong>Right-click </strong>on the Command Prompt icon in the upper left corner of the screen.</li><li>We will see how we can select <strong>Color</strong> (to change the color of the Command Prompt), <strong>Rename Tab, Duplicate Tab, Split Table, Export Text</strong> and <strong>Search</strong> (to search for a particular text).</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="576" src="https://www.osradar.com/wp-content/uploads/2023/06/cmd-1-1024x576.png" alt="" class="wp-image-39104" srcset="https://www.osradar.com/wp-content/uploads/2023/06/cmd-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2023/06/cmd-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2023/06/cmd-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2023/06/cmd-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2023/06/cmd-1-1068x601.png 1068w, https://www.osradar.com/wp-content/uploads/2023/06/cmd-1.png 1115w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Window title</h2>



<p>The title of the window can be changed with one command and, moreover, in an extremely simple way. To do it, we must put <em>title</em>. Then, we will write the word or phrase that we want to appear in the header of the <strong>Command Prompt</strong> window. It has a limited utility. However, it is true that it is a curious function. Besides that, few people know about the Windows Command Prompt.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="577" src="https://www.osradar.com/wp-content/uploads/2023/06/cmd2-1024x577.png" alt="" class="wp-image-39105" srcset="https://www.osradar.com/wp-content/uploads/2023/06/cmd2-1024x577.png 1024w, https://www.osradar.com/wp-content/uploads/2023/06/cmd2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2023/06/cmd2-768x433.png 768w, https://www.osradar.com/wp-content/uploads/2023/06/cmd2-696x392.png 696w, https://www.osradar.com/wp-content/uploads/2023/06/cmd2-1068x602.png 1068w, https://www.osradar.com/wp-content/uploads/2023/06/cmd2.png 1115w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Where your data goes</h2>



<p>This is a fun and interesting trick. Indeed, it can be used for networking and problem-solving. The <em>tracert </em>command, followed by an IP address or a website, will show a list of where our connection bounces to on the way to that address. It is really curious to see all the stops our connection makes on its way to the destination we have marked.</p>



<p>The normal thing is that the configuration of Internet of our house send us to several addresses related to the ISP to later depend on where we are going to go. In fact, each website transfers data differently. This depends on where the website itself connects from and where we are finally going to get to.</p>



<h2>Turning off the computer</h2>



<p>We are also going to be able to turn off the computer thanks to the Command Prompt. This can be useful if there is an incident that does not let Windows do it. Also, if we do not want to force it by means of the physical button of the device.</p>



<p>To shut down the computer, we must put the following command: <em>shutdown/s</em>. If what we want is to restart the computer at that precise moment, what we will have to write is: <em>shutdown/r</em> This way of turning off the computer may not be practical. However, it may come in handy at some point. So it is not a bad thing to have this information.</p>



<p>Imagine that this curious Command Prompt trick is the one that allows you to shut down or restart your computer at a time when you have a problem. Then it won&#8217;t seem so trivial.</p>



<h2>Star Wars</h2>



<p>This is a really different trick that will generate a lot of curious looks when we show it to someone. To view <strong>Star Wars</strong> in the Command Prompt, we must enable a service called <em>Telnet</em>. If you have Windows 10 or 11, press Win + Q, type <em>telnet</em>. Then select <strong>Turn Windows features on or off</strong>.</p>



<p>After that, we go down to the <strong>Telnet Client</strong> entry, check the box, then click OK and close the window.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="415" height="368" src="https://www.osradar.com/wp-content/uploads/2023/06/cmd3.png" alt="" class="wp-image-39106" srcset="https://www.osradar.com/wp-content/uploads/2023/06/cmd3.png 415w, https://www.osradar.com/wp-content/uploads/2023/06/cmd3-300x266.png 300w" sizes="(max-width: 415px) 100vw, 415px" /></figure>



<p>Re-enter the <strong>Command Prompt</strong> and execute the following commands, pressing Enter after each one:</p>



<ul><li><strong>telnet telehack.com</strong></li><li><strong>starwars</strong></li></ul>



<p>Then you just have to enjoy looking at the screen, since we will have the story of <strong>Star Wars Episode IV</strong> totally made by ASCII. Undoubtedly, something curious, fun and, for many users, even entertaining.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="577" src="https://www.osradar.com/wp-content/uploads/2023/06/cmd4-1024x577.png" alt="" class="wp-image-39107" srcset="https://www.osradar.com/wp-content/uploads/2023/06/cmd4-1024x577.png 1024w, https://www.osradar.com/wp-content/uploads/2023/06/cmd4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2023/06/cmd4-768x433.png 768w, https://www.osradar.com/wp-content/uploads/2023/06/cmd4-696x392.png 696w, https://www.osradar.com/wp-content/uploads/2023/06/cmd4-1068x602.png 1068w, https://www.osradar.com/wp-content/uploads/2023/06/cmd4.png 1115w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Command Prompt Aquarium</h2>



<p>If we continue using <strong>Telnet</strong> we can not only have Star Wars on the screen, but more possibilities. As soon as we start with the telnet command <strong>telehack.com</strong>, we see that there are many more options, but the one we are going to see next is possibly the best achieved.</p>



<p>The most remarkable thing next to the Star Wars ASCII recreation is the <em>aquarium</em> command. If we put this command as we did in the previous case (instead of putting <strong>starwars)</strong> we will see an ASCII aquarium that could even be used as a screensaver.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="577" src="https://www.osradar.com/wp-content/uploads/2023/06/cmd5-1024x577.png" alt="" class="wp-image-39108" srcset="https://www.osradar.com/wp-content/uploads/2023/06/cmd5-1024x577.png 1024w, https://www.osradar.com/wp-content/uploads/2023/06/cmd5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2023/06/cmd5-768x433.png 768w, https://www.osradar.com/wp-content/uploads/2023/06/cmd5-696x392.png 696w, https://www.osradar.com/wp-content/uploads/2023/06/cmd5-1068x602.png 1068w, https://www.osradar.com/wp-content/uploads/2023/06/cmd5.png 1115w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>With all these tricks, you will have witnessed that the Windows Command Prompt has many practical functions for the configuration and management of the operating system. In addition to others that are very curious.</p>



<p>That means that the Windows Command Prompt can surprise you much more than you might expect with these curious tricks. The truth is that fun can be found in the most unlikely places.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/command-line-magic-secret-features-and-hidden-functions-of-the-windows-command-prompt/">Command Line Magic: Secret Features and Hidden Functions of the Windows Command Prompt</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/command-line-magic-secret-features-and-hidden-functions-of-the-windows-command-prompt/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use the Windows 10 terminal</title>
		<link>https://www.osradar.com/how-to-use-the-windows-10-terminal/</link>
					<comments>https://www.osradar.com/how-to-use-the-windows-10-terminal/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 22 Jan 2022 22:19:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=34326</guid>

					<description><![CDATA[<p>Hello! We have recently talked about what the terminal is. Well, it&#8217;s time to dig a little deeper. Today, we will learn how to use the terminal in Windows 10. A basic use allows you to navigate through the system directories, display their contents and access command help. Therefore, read on to learn how to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-use-the-windows-10-terminal/">How to use the Windows 10 terminal</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! We have recently talked about what the <a href="https://www.osradar.com/wp-admin/post.php?post=34298&amp;action=edit" target="_blank" rel="noreferrer noopener">terminal</a> is. Well, it&#8217;s time to dig a little deeper. Today, we will learn how to use the terminal in Windows 10. A basic use allows you to navigate through the system directories, display their contents and access command help. Therefore, read on to learn how to use the <a href="https://www.microsoft.com/en-us/software-download/windows10" target="_blank" rel="noreferrer noopener">Windows 10 </a>terminal.</p>



<h2>How to use Windows 10 terminal help.</h2>



<p>In particular, the help allows you to obtain the complete list of available commands. Don&#8217;t worry, there are actually not many. This is something we can do from the command prompt. Additionally, there is no distinction between a normal user and an administrator. Please note that the terminal is not case-sensitive, so it makes no difference whether we use lower case or upper case. With this in mind, we will use the following command:</p>



<pre class="wp-block-preformatted">HELP</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter-2.jpg" alt="List of commands available for the windows terminal" class="wp-image-34328" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter-2.jpg 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter-2-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter-2-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter-2-696x364.jpg 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>List of commands available for the windows terminal</figcaption></figure>



<p>Consequently, we will be able to develop the help of each particular command. Specifically, <em>help</em> shows the function of the command as such. However, it does not display the complete help for a command. I mean, all the commands we saw in the previous list have their help section. This applies even to the command prompt itself. In effect, the help opens another instance of the terminal. l. To use the help in a command, type the command followed by <em>/?</em> Using this syntax:</p>



<pre class="wp-block-preformatted">BREAK /?</pre>



<pre class="wp-block-preformatted">CD /?</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-1024x611.jpg" alt="" class="wp-image-34330" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-1024x611.jpg 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-300x179.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-768x458.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-696x416.jpg 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-1.jpg 1062w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Displaying CD command help</figcaption></figure>



<p>The information may be more extensive than what is shown in the window. Consequently, it is offered to press some keys to move to the next information screen. Another way to do this is to use the command:</p>



<pre class="wp-block-preformatted">HELP DIR</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="647" height="634" src="https://www.osradar.com/wp-content/uploads/2022/01/TER3-1.jpg" alt="" class="wp-image-34331" srcset="https://www.osradar.com/wp-content/uploads/2022/01/TER3-1.jpg 647w, https://www.osradar.com/wp-content/uploads/2022/01/TER3-1-300x294.jpg 300w" sizes="(max-width: 647px) 100vw, 647px" /></figure>



<h2>How to clean the terminal screen.</h2>



<p>After executing and executing commands, the screen will logically fill up with characters. Consequently, it is likely that at some point we will want to clean them up. With this in mind, we will use the following command:</p>



<pre class="wp-block-preformatted">CLS</pre>



<h2>How to force the termination of a command.</h2>



<p>Occasionally, we run a command, and it is taking a long time to finish. Or we simply run it accidentally. Consequently, if you want to finish it in a forced way, then you must press the combination Ctrl + C, and it will finish:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-1024x611.jpg" alt="Forcing the termination of a command in the Windows terminal" class="wp-image-34332" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-1024x611.jpg 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-300x179.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-768x458.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-696x416.jpg 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-1.jpg 1062w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Forcing the termination of a command in the Windows terminal</figcaption></figure>



<h2>How to view the command history and use them again.</h2>



<p>The Windows terminal has a buffer where it stores the last executed commands, whether correct or erroneous. This serves to speed up the tasks we do. Consequently, we will be able to reuse them if we press the Up or Down arrow keys on the Prompt. Additionally, we can write the last command by pressing the Right directional key. We can also display the complete list of commands. To accomplish this, just press F7.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-1024x611.jpg" alt="Viewing the list of all commands used in Windows Terminal" class="wp-image-34333" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-1024x611.jpg 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-300x179.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-768x458.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-696x416.jpg 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-1.jpg 1062w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Viewing the list of all commands used in Windows Terminal</figcaption></figure>



<h2>Using directory navigation.</h2>



<p>One of the most used functions of the CMD is to be able to navigate through the file directories. To display the directory where you are currently located, please use the following command:</p>



<pre class="wp-block-preformatted">DIR</pre>



<p>Note that you can expand the information by using the help command shown above.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-1024x611.jpg" alt="DIR command, displaying the user's current directory" class="wp-image-34335" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-1024x611.jpg 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-300x179.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-768x458.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-696x416.jpg 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-1.jpg 1062w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>DIR command, displaying the user&#8217;s current directory</figcaption></figure>



<p>On the other hand, we can show the content of any directory even if we are not inside it. To achieve this, just type DIR and then the full or relative path:</p>



<pre class="wp-block-preformatted">DIR &lt;directory path></pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter7-1.jpg" alt="" class="wp-image-34337" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter7-1.jpg 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-1-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-1-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-1-696x364.jpg 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<p>Directories in the operating system have a tree-like composition. Consequently, we will go up as we go deeper into folders and subfolders. On the contrary, we will go down if we go out of them.</p>



<pre class="wp-block-preformatted">CD &lt;directory path></pre>



<pre class="wp-block-preformatted">CD..</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter8-1.png" alt="Navigating directories from the Windows terminal. " class="wp-image-34338" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter8-1.png 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter8-1-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter8-1-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter8-1-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Navigating directories from the Windows terminal.</figcaption></figure>



<h2>How to create directories with the Windows terminal.</h2>



<p>Next we will see another command related to directory navigation. Specifically, we will see how to create folders, with or without additional properties. The command will be as follows:</p>



<pre class="wp-block-preformatted">MKDIR &lt;path where the new directory will be created></pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter9-1.png" alt="Creating a new folder in the command prompt" class="wp-image-34339" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter9-1.png 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-1-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-1-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-1-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Creating a new folder in the command prompt</figcaption></figure>



<h2>Let&#8217;s learn to erase as well</h2>



<p>We have seen how to create directories and files. Well, we can also delete them via commands. Specifically, we will use the DEL command to delete files and the RD command to delete directories.</p>



<pre class="wp-block-preformatted">DEL &lt;file path></pre>



<pre class="wp-block-preformatted">RD &lt;directory path></pre>



<h2>It is also possible to copy and paste.</h2>



<p>This Windows classic could not be missed. Yes, the Windows terminal also allows copy and paste. Let&#8217;s see the syntax:</p>



<pre class="wp-block-preformatted">XCOPY &lt;path of file or directory to copy> &lt;path of the location where to paste></pre>



<p>You only have to select the origin and after a space to add the destination. In addition, there are arguments to recursively copy the entire contents of a directory, to overwrite the contents already existing in the destination and others. It even works with shared drives over the network, as if we do it graphically.</p>



<h2>Complete files and view files on the go.</h2>



<p>This option is intended to speed up navigation. All commands that take paths or filenames as arguments allow auto-completion of the filename. For this purpose, just start typing the name of the folder or file. Then press TAB and the name will be completed. Note that the path is enclosed in quotes to allow for spaces, accents and other characters.</p>



<figure class="wp-block-image size-full is-style-default"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter10-3.jpg" alt="Autocompleting a command in the Windows Terminal" class="wp-image-34341" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter10-3.jpg 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-3-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-3-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-3-696x364.jpg 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Autocompleting a command in the Windows Terminal</figcaption></figure>



<h2>Running simultaneous or conditional commands in Windows terminal</h2>



<p>In some cases, the Windows terminal behaves like the GNU/Linux terminal. Indeed, it can execute multiple commands succeeding or under certain conditions. This option becomes relevant for scripts that are executed line by line and small programs created by the user. Check the characters to be added:</p>



<pre class="wp-block-preformatted">[…] &amp; […] </pre>



<p>Let&#8217;s see how they are used. With the symbol <em>&amp;</em> we will be indicating to the terminal to run the second command when it finishes running the first one. Independently of the result of the first command. To clarify, it is an AND function.  For example:</p>



<pre class="wp-block-preformatted">ipconfig /release &amp; ipconfig /renew</pre>



<p>In this case, the status of the network connections will be checked first. Then the IP address and the configuration of all of them will be renewed.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="https://www.osradar.com/wp-content/uploads/2022/01/ter11-1024x787.png" alt="" class="wp-image-34342" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter11-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2022/01/ter11.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Let&#8217;s look at another use:</p>



<pre class="wp-block-preformatted">[…] &amp;&amp; […]</pre>



<p>We are talking about a classic<em> if</em> conditional. In effect, the second command will only be executed if the first one has shown a successful result or has concluded correctly. If the first command fails, the second command will not be executed either. Let&#8217;s see:</p>



<pre class="wp-block-preformatted">cd Documents\folder &amp;&amp; mkdir Documents\folder\docs</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter12-1.jpg" alt="" class="wp-image-34343" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter12-1.jpg 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-1-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-1-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-1-696x364.jpg 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<p>We will only create the <em>docs</em> directory if we have been able to access<em> Documents </em>first. Let&#8217;s look at another use:</p>



<pre class="wp-block-preformatted">[…] || […]</pre>



<p>In this case, the second command will only be executed if the first one has not been executed successfully. In fact, it is just the opposite of the previous command. Specifically, it is an if-but-no command:</p>



<pre class="wp-block-preformatted">cd Documents\folder || mkdir Documents\folder</pre>



<p>For this condition, we will only create the folder directory if we have not been able to access it because it did not previously exist. These are certainly simple examples, but they can be very useful when executing more complex tasks. </p>



<h2>Conclusion</h2>



<p>Very well, in last instance we have seen how to use the terminal of Windows 10. I hope to have clarified your doubts, if you want some topic in particular, let us know in the comments. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-use-the-windows-10-terminal/">How to use the Windows 10 terminal</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-use-the-windows-10-terminal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the terminal in Windows 10</title>
		<link>https://www.osradar.com/what-is-the-terminal-in-windows-10/</link>
					<comments>https://www.osradar.com/what-is-the-terminal-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 20 Jan 2022 10:48:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=34298</guid>

					<description><![CDATA[<p>Hello! Everyone who has used GNU/Linux knows what a terminal is and how useful it is. However, let&#8217;s be clear, most people use Windows and its classic windowed environment. Therefore, they are the target of this tutorial. This way they will get to know the command prompt. Moreover, they will know what to do in [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-terminal-in-windows-10/">What is the terminal in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Everyone who has used GNU/Linux knows what a terminal is and how useful it is. However, let&#8217;s be clear, most people use Windows and its classic windowed environment. Therefore, they are the target of this tutorial. This way they will get to know the command prompt. Moreover, they will know what to do in case they need to use it. Throughout this post, we are going to determine what the terminal is in Windows 10.</p>



<h2>What is a command terminal</h2>



<p>On Microsoft desktop systems, it is known as the <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands" target="_blank" rel="noreferrer noopener">command</a> prompt. It actually functions as a command interpreter. In addition, it is available on the vast majority of operating systems. It behaves as a control element for the same, but at a low level.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="256" height="256" src="https://www.osradar.com/wp-content/uploads/2022/01/ter-1.png" alt="" class="wp-image-34300" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter-1.png 256w, https://www.osradar.com/wp-content/uploads/2022/01/ter-1-150x150.png 150w" sizes="(max-width: 256px) 100vw, 256px" /></figure>



<p>In addition, it is a system-integrated tool. Therefore, it can perform most of the tasks that we do in the traditional way in Windows 10. If the graphical interface and windows are not available, then the command terminal will be the only option to manage an operating system. As we mentioned, this element is present in GNU/Linux, where it has a great weight in the management of the system. But it is also a functional tool in Windows, macOS and the vast majority of operating systems.</p>



<h2>How a terminal and a command interpreter works</h2>



<p>A command interpreter is nothing more than a program with the ability to translate commands typed by the user. To accomplish this, it uses a set of instructions that allow direct control of aspects of the system, as well as the set of tools that are part of it. Let&#8217;s suppose you want to access the contents of a folder in Windows 10. In that case, just double-click on the folder to see its contents. The same applies if you want to run any tool. For example, notepad. You just double-click on it and that&#8217;s it. Well, with the command prompt, we can do the same using commands:</p>



<pre class="wp-block-preformatted">PROMPT>ls C:\folder path</pre>



<pre class="wp-block-preformatted">PROMPT>notepad</pre>



<p>These commands must be entered following a specific syntax within the terminal emulator. Through a PROMPT waiting to be entered. These commands are related to system functions. In addition, they can function in different ways using arguments. These are additional options placed after the command that qualify the operation. In addition, it is often necessary to place the path to the folder or file involved.</p>



<h2>A little history of the Windows terminal.</h2>



<p>The advent of the command terminal dates back to the appearance of the first operating systems. Moreover, it was the only possible way to manage instructions in them. In this respect, IBM&#8217;s UNIX was a trend-setter in the 1970s. It was certainly not the first, but it had the functions most similar to those of today&#8217;s systems.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="408" src="https://www.osradar.com/wp-content/uploads/2022/01/ter2.png" alt="" class="wp-image-34301" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter2.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-287x300.png 287w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>However, this system required a rather complex code for its control. Therefore, we must go back to 1981 with the appearance of MS-DOS to see a command terminal behaving as such. In addition, the implementation of systems with a layer between machine and user that could be controlled more easily from commands and scripts was encouraged through medium and high-level programming languages such as C or C++.</p>



<h2>COMMAND.COM marked the beginning</h2>



<p>COMMAND.COM was the tool in charge of performing the system control as an integral part of the system itself. Even part of the commands used in Windows today come from it. Remember that there was no graphical interface, so everything was done on a black or blue screen and plain text. This tool was also in charge of loading the system configuration during startup. The architecture evolved and the capacity to process graphics appeared. Thus, Windows NT, Microsoft&#8217;s first window-based system, was born. This was a huge qualitative leap. In effect, the command interface was replaced by the use of the mouse in a graphical environment with windows and icons. In fact, it set the trend for the system as we know it today.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="810" src="https://www.osradar.com/wp-content/uploads/2022/01/ter3-1024x810.png" alt="" class="wp-image-34302" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter3-1024x810.png 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter3-300x237.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter3-768x607.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter3-696x550.png 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter3-1068x844.png 1068w, https://www.osradar.com/wp-content/uploads/2022/01/ter3.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Things have certainly changed. Unlike COMMAND.COM, the current Windows command terminal is just another application in the system, acting as a command emulator. Consequently, it is not an integral part of the system, and as such does not load its configuration or DLL that control its operation. However, there are still functions emanating from the graphical interface to the CMD to be executed. In addition, some scripts are opened in the terminal.</p>



<h2>How to use the Windows 10 terminal</h2>



<p>We have already determined that it is a terminal. Now it is time to determine how to use it. As already mentioned, the terminal is a command interpreter. Therefore, it needs an understandable string. When you open it, the only visible element will be the PROMPT. This is a line that informs the user of the path to the user&#8217;s home directory. Therefore, it will be the default location where the commands will be executed. However, this can be changed.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter4.png" alt="Windows Command Prompt." class="wp-image-34303" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter4.png 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Windows Command Prompt.</figcaption></figure>



<p>When the command is entered, it will not be executed until the Enter key is pressed. The sequence is immediately parsed by cmd or directly by the program it represents. In fact, within the command prompt we can run other programs, such as DISKPART. The response of the terminal is according to the command given. It may be to display information in text form within the terminal itself. It can also be the execution of an application in the foreground or background, or an error message when it does not <em>understand</em> the command.</p>



<h2>User permissions for the Windows terminal</h2>



<p>One thing you should consider is the permissions granted by the user to use the terminal. Certainly, the systems are multi-user and are based on sessions opened by each one of them. Furthermore, not all have the same privileges and permissions to run apps. More than all, there are administrators and guest or limited users.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="533" height="179" src="https://www.osradar.com/wp-content/uploads/2022/01/ter5.png" alt="" data-id="34304" data-full-url="https://www.osradar.com/wp-content/uploads/2022/01/ter5.png" data-link="https://www.osradar.com/?attachment_id=34304" class="wp-image-34304" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter5.png 533w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-300x101.png 300w" sizes="(max-width: 533px) 100vw, 533px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="587" height="221" src="https://www.osradar.com/wp-content/uploads/2022/01/ter6.png" alt="" data-id="34305" data-full-url="https://www.osradar.com/wp-content/uploads/2022/01/ter6.png" data-link="https://www.osradar.com/?attachment_id=34305" class="wp-image-34305" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter6.png 587w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-300x113.png 300w" sizes="(max-width: 587px) 100vw, 587px" /></figure></li></ul><figcaption class="blocks-gallery-caption">Difference between using the normal command prompt and using it as an administrator.</figcaption></figure>



<p>In GNU/Linux is where the user permission system is more prioritized. However, Windows also has its method. However, every time we create a new user, this one will have Administrator privileges. On the other hand, the figure of root or superuser that Linux has more clearly does not appear. This can be seen when installing any app. In effect, a window will appear asking for administrator permissions to continue. In addition, the type of users will be shown in the terminal window. A command prompt as administrator will show the path to the System32 directory.</p>



<h2>How to access the command prompt.</h2>



<p>The easiest way to access the Windows terminal is through the start menu. You can follow the path: <strong>Windows Start>Windows System>System symbol</strong>. A more expeditious way is to type CMD in the search button and launch the app.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="787" height="680" src="https://www.osradar.com/wp-content/uploads/2022/01/ter7.png" alt="Opening the command prompt from the start menu. " class="wp-image-34306" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter7.png 787w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-300x259.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-768x664.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-696x601.png 696w" sizes="(max-width: 787px) 100vw, 787px" /><figcaption>Opening the command prompt from the start menu.</figcaption></figure>



<p>Another way is through the Run tool. Just press Win+R and type CMD. Finally, press Enter.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="399" height="206" src="https://www.osradar.com/wp-content/uploads/2022/01/ter8.png" alt="" class="wp-image-34307" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter8.png 399w, https://www.osradar.com/wp-content/uploads/2022/01/ter8-300x155.png 300w" sizes="(max-width: 399px) 100vw, 399px" /><figcaption>Running CMD</figcaption></figure>



<p>Now we will see how to open the tool with administrator privileges. Just select the corresponding option from the search menu.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="787" height="678" src="https://www.osradar.com/wp-content/uploads/2022/01/ter9.png" alt="Opening a Windows terminal as administrator" class="wp-image-34308" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter9.png 787w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-300x258.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-768x662.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-696x600.png 696w" sizes="(max-width: 787px) 100vw, 787px" /><figcaption>Opening a Windows terminal as administrator</figcaption></figure>



<p>As an additional tip, if you decide to launch the terminal from the run box, then just press the Shift+Ctrl combination when pressing Enter. This way, the tool will run in Administrator mode.</p>



<h2>Accessing from the Windows installation and recovery menu.</h2>



<p>One of the most crucial uses of the Windows terminal is when we do not have access to the graphical interface of the system. This could happen due to failures that do not allow us to log in correctly. It is also possible after continuous system reboots. In such cases, CDM is a way to try to repair Windows before having to reinstall it. Fortunately, the Windows installation system has access to the command prompt. It is also possible to access it from the system repair menu. This is displayed after three failed boot attempts.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="768" height="571" src="https://www.osradar.com/wp-content/uploads/2022/01/ter10-1.png" alt="" class="wp-image-34311" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter10-1.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-1-300x223.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-1-485x360.png 485w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-1-696x517.png 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-1-265x198.png 265w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>Consequently, you just have to boot from the installation drive as shown in this <a href="https://www.osradar.com/how-to-install-windows-10-step-by-step/" target="_blank" rel="noreferrer noopener">tutorial.</a> The difference is that you have to click on <strong>Repair your computer.</strong> You will then be redirected to the recovery menu. Please click on troubleshoot. Depending on your system version, you may need to click on <strong>Advanced options. </strong>Either way, just click on the <strong>Command Prompt.</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" width="600" height="293" src="https://www.osradar.com/wp-content/uploads/2022/01/ter11.jpg" alt="" class="wp-image-34313" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter11.jpg 600w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-300x147.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption>Running the command prompt from the startup recovery options.</figcaption></figure>



<p>For the system recovery menu, the path is as follows: Troubleshoot>Advanced Options>Command Prompt. This menu is activated after 3 unsuccessful system startup attempts. Alternatively, you can press shift by choosing Restart from the Windows startup menu.</p>



<h2>Customizing the look and feel of the Windows terminal</h2>



<p>Maybe you didn&#8217;t know it, but it is possible to customize the appearance of the Windows terminal. It is not an indispensable element, but it can serve to increase the user experience. With this in mind, please right-click on the status bar. Then select <strong>Properties.</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" width="978" height="511" src="https://www.osradar.com/wp-content/uploads/2022/01/ter12.png" alt="Opening the Command Prompt options" class="wp-image-34314" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter12.png 978w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-696x364.png 696w" sizes="(max-width: 978px) 100vw, 978px" /><figcaption>Opening the Command Prompt options</figcaption></figure>



<p>In the Options tab, there are some parameters related to the operation of the terminal. Some of them are:</p>



<ul><li><strong>Cursor size</strong>: simply affects the cursor we see as we type. We recommend using the small size to avoid confusion when the Insert mode is activated.</li><li><strong>Command history:</strong> this is a buffer where the last commands executed in the session are stored.</li><li><strong>Editing options: </strong>impact how commands are typed and how information is copied to the terminal.</li></ul>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter13.png" alt="" class="wp-image-34315" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter13.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter13-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>In the Font tab, we can configure the appearance and size of the font inside the terminal.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter14.png" alt="" class="wp-image-34316" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter14.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter14-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>In the Layout section, you can change the window size and screen buffer size when starting the tool.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter15.png" alt="" class="wp-image-34317" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter15.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter15-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>Moreover, In the Colors tab, there is a lot to customize. You can customize the color of the terminal window content, its text and even pop-up windows. In addition, we can individualize the changes to observe the preview. It is even possible to set the opacity of the terminal window.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter16.png" alt="" class="wp-image-34318" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter16.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter16-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>Finally, in the terminal section, we set the color and shape of the cursor. We can also set the color of the terminal font. In addition to other elements related to the appearance of the terminal.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter17.png" alt="" class="wp-image-34319" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter17.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter17-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>Very well, ultimately we have seen that it is the Windows terminal. We have shown you the general concepts to start using this powerful tool. In later posts, we will show you the elements of use of the Windows terminal. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-terminal-in-windows-10/">What is the terminal in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/what-is-the-terminal-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>12 useful commands for the Command Prompt</title>
		<link>https://www.osradar.com/12-useful-commands-for-the-command-prompt/</link>
					<comments>https://www.osradar.com/12-useful-commands-for-the-command-prompt/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sun, 12 Dec 2021 22:45:00 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[command prompt]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=33744</guid>

					<description><![CDATA[<p>Hello! Windows is certainly the most popular desktop operating system. Indeed, ease of use has always been its hallmark. In this context, its graphical interface contributes a lot to this task. Indeed, the windowed organization is straightforward to maintain. This makes users very accustomed to the graphical environment. However, the system also has its command [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/12-useful-commands-for-the-command-prompt/">12 useful commands for the Command Prompt</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Windows is certainly the most popular desktop operating system. Indeed, ease of use has always been its hallmark. In this context, its graphical interface contributes a lot to this task. Indeed, the windowed organization is straightforward to maintain. This makes users very accustomed to the graphical environment. However, the system also has its command line tools. We are talking about the command prompt and PowerShell. To be honest, this element is very unknown and undervalued within the operating system. That is why today we will see 12 useful commands for the Command Prompt.</p>



<h2>Some useful commands for the command prompt.</h2>



<p>Certainly, many users have never used the command prompt. On the contrary, in the past this tool had a lot of relevance. Indeed, most of the tasks were done by text. However, there are several commands for CMD that are very fascinating. Moreover, they work for Windows 10 and Windows 11 as well. As we said, these commands are intended for the command prompt. To access them, just type CMD in the search bar and then launch it.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="789" height="679" src="https://www.osradar.com/wp-content/uploads/2021/12/cmd.png" alt="Opening a Command Prompt" class="wp-image-33745" srcset="https://www.osradar.com/wp-content/uploads/2021/12/cmd.png 789w, https://www.osradar.com/wp-content/uploads/2021/12/cmd-300x258.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/cmd-768x661.png 768w, https://www.osradar.com/wp-content/uploads/2021/12/cmd-696x599.png 696w" sizes="(max-width: 789px) 100vw, 789px" /><figcaption>Opening a Command Prompt</figcaption></figure>



<h2>Assoc</h2>



<p>The vast majority of Windows files are associated with a program which is in charge of opening them. Well, with <a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490865(v=technet.10)?redirectedfrom=MSDN" target="_blank" rel="noreferrer noopener">Assoc</a> we will be able to see all these associations to remember them. The command displays a list of file extensions. In addition to the program associated with each of them. We will even have the opportunity to change some association. Let&#8217;s suppose we want to change the association of .txt files. Therefore, we type <strong>assoc .txt=</strong>. After the = sign you must type the program to open it.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2021/12/cmd2.png" alt="" class="wp-image-33746" srcset="https://www.osradar.com/wp-content/uploads/2021/12/cmd2.png 979w, https://www.osradar.com/wp-content/uploads/2021/12/cmd2-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/cmd2-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/12/cmd2-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<h2>Driverquery</h2>



<p>This command displays all the controllers that are on the computer. We can extend it with <strong>driverquery -v</strong> to get additional information. This includes the directory in which the driver is installed. As you can see, this is a great way to get information about the drivers. Consequently, we will be able to find out about those outdated ones that do not work.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="https://www.osradar.com/wp-content/uploads/2021/12/cmd3-1024x787.png" alt="" class="wp-image-33747" srcset="https://www.osradar.com/wp-content/uploads/2021/12/cmd3-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2021/12/cmd3-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/cmd3-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2021/12/cmd3-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2021/12/cmd3-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2021/12/cmd3.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Ipconfig</h2>



<p><strong>ipconfig</strong> displays the IP address currently associated with the computer. It also has several interesting extensions. For example, we can generate a new IP address different from the one we are using. With this in mind, we will use <strong>ipconfig /release</strong> followed by <strong>ipconfig /renew.</strong> Furthermore, with<strong> ipcofig /flushdns</strong> you can update your DNS address.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2021/12/cmd4.png" alt="" class="wp-image-33748" srcset="https://www.osradar.com/wp-content/uploads/2021/12/cmd4.png 979w, https://www.osradar.com/wp-content/uploads/2021/12/cmd4-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/cmd4-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/12/cmd4-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<h2>Ping</h2>



<p>With ping, we can determine whether data packets are reaching our device. Just type ping followed by the IP address or web domain. As a result, a series of test packets will be sent to the specified address, which will determine whether it works or not. Indeed, if it returns information everything will be fine, but if not, something is causing the failure.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2021/12/cmd5.png" alt="" class="wp-image-33749" srcset="https://www.osradar.com/wp-content/uploads/2021/12/cmd5.png 979w, https://www.osradar.com/wp-content/uploads/2021/12/cmd5-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/cmd5-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/12/cmd5-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<h2>PathPing</h2>



<p>We can say that PathPing is an advanced version of the ping command we have seen before. It is used in the same way as the previous command. That is, you just have to type PathPing followed by the IP address or web domain. The difference is that this command transmits information about the path of the test packets.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2021/12/cmd6.png" alt="" class="wp-image-33750" srcset="https://www.osradar.com/wp-content/uploads/2021/12/cmd6.png 979w, https://www.osradar.com/wp-content/uploads/2021/12/cmd6-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/cmd6-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/12/cmd6-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<h2>Tracert</h2>



<p>Tracert is also a command related to package reception. Therefore, it works similar to pathping. Even the syntax is the same. Just type Tracert followed by the IP address or web domain. The difference is that tracert also tracks how long (in milliseconds) each hop between servers or devices takes.</p>



<h2>Shutdown</h2>



<p>Shutdown is possibly one of the most used CMD commands by many users. In fact, this command allows you to schedule the shutdown of the computer. To schedule the shutdown of the computer, just type <strong>shutdown -s -t </strong>followed by the seconds that have to elapse until the desired time is reached. Another interesting option is to be able to restart the computer by displaying the advanced options menu. With this in mind, just use: <strong>shutdown /r /o</strong>. You can learn more about this command in this <a href="https://www.osradar.com/how-to-schedule-automatic-shutdown-in-windows-10/" target="_blank" rel="noreferrer noopener">tutorial.</a></p>



<h2>System File Checker</h2>



<p>System File Checker is a tool used for automatic scanning and repairing of Windows files. Commonly called SFC, it needs to be run in CMD with administrator privileges. One of its variants is sfc/scannow. In this way, it will search for corrupted files and replace them with copies from the Windows cache. To learn more about this command, please have a look at this <a href="https://www.osradar.com/how-to-fix-windows-10-crash/" target="_blank" rel="noreferrer noopener">tutorial.</a></p>



<h2>Taskkill</h2>



<p>Taskkill is used to force a program to stop. For example, we can use<strong> taskkill -im </strong>followed by the executable name or <strong>taskkill -pid</strong> followed by the process ID. This is a good way to get rid of hidden or unresponsive programs. It works as a last resort, when the graphical interface is not functional for the task.</p>



<h2>Chkdsk</h2>



<p>Chkdsk is also one of the most frequently used commands by users. Especially in earlier times, when DOS was more present. However, with Windows, its use is still prevalent. Some of its variables are:</p>



<ul><li><strong>chkdsk c :</strong> will immediately scan the C drive, without the need to restart the computer.</li><li><strong>chkdsk / f, / r, / x, / BC:</strong> this command corrects errors, recovers data, unmounts the drive or clears the list of bad sectors.</li></ul>



<p>However, you can learn more about this command by reading this <a href="https://www.osradar.com/how-to-check-disk-in-windows-10/" target="_blank" rel="noreferrer noopener">tutorial</a>.</p>



<h2>Schtasks</h2>



<p>With Schtasks we will be able to access the Task Scheduler, but from the command prompt. Consequently, we will be able to configure multiple similar tasks without having to click on several options. An example is to be able to schedule the computer to restart every day at a certain time.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2021/12/cmd8.png" alt="" class="wp-image-33751" srcset="https://www.osradar.com/wp-content/uploads/2021/12/cmd8.png 979w, https://www.osradar.com/wp-content/uploads/2021/12/cmd8-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/cmd8-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/12/cmd8-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<h2>File Compare</h2>



<p>This command is used to identify text differences between two files. It is certainly quite useful, especially for programmers. For example, if they want to identify a difference between files that are extremely similar. The command is <strong>fc</strong>, and you can extend it by typing /b to compare binary output, /c to ignore the text case and /l only compares ASCII text.</p>



<p>Ultimately, we have seen 12 useful commands for the command prompt. As you can see, they can get us out of trouble more than once. Moreover, you just have to dig deeper into each one to get the best out of it. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/12-useful-commands-for-the-command-prompt/">12 useful commands for the Command Prompt</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/12-useful-commands-for-the-command-prompt/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to shutdown and reboot Windows Server 2022 with commands.</title>
		<link>https://www.osradar.com/how-to-shutdown-and-reboot-windows-server-2022-with-commands/</link>
					<comments>https://www.osradar.com/how-to-shutdown-and-reboot-windows-server-2022-with-commands/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 27 Feb 2021 22:57:00 +0000</pubDate>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[windows server 2022]]></category>
		<category><![CDATA[windows server shutdown]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=28712</guid>

					<description><![CDATA[<p>We continue to explore the features of Windows Server 2022. It is well known that this is Microsoft&#8217;s next solution for enterprise environments. Well, like its predecessors, this version has variants with and without a graphical environment. In addition, it is well known that a common task is to shut down or restart the server. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-shutdown-and-reboot-windows-server-2022-with-commands/">How to shutdown and reboot Windows Server 2022 with commands.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>We continue to explore the features of <a href="https://www.osradar.com/how-to-install-windows-server-2022-on-vmware/" target="_blank" rel="noreferrer noopener">Windows Server 2022</a>. It is well known that this is Microsoft&#8217;s next solution for enterprise environments. Well, like its predecessors, this version has variants with and without a graphical environment. In addition, it is well known that a common task is to shut down or restart the server. Therefore, this can be done from the start menu. However, in environments without a graphical plug-in, then we can do it from the command line. Read on to find out How to shutdown and reboot <a href="https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver" target="_blank" rel="noreferrer noopener">Windows Server 2022 </a>with commands.</p>



<h2>How to restart Windows Server 2022</h2>



<p>The first thing you have to do is to open a CMD as administrator. Then use the following syntax:</p>



<pre class="wp-block-preformatted">shutdown /r /t <em>time</em></pre>



<p>Please replace <em>Time </em>with the time you want to wait for the server to restart.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="979" height="511" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/02/re.png" alt="Scheduling Windows Server 2022 reboot" class="wp-image-28713" srcset="https://www.osradar.com/wp-content/uploads/2021/02/re.png 979w, https://www.osradar.com/wp-content/uploads/2021/02/re-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/02/re-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2021/02/re-696x363.png 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Scheduling Windows Server 2022 reboot</figcaption></figure>



<p>This means that after 200 seconds, the server will be restarted. On the other hand, it is possible to add a message at restart time. For this purpose, just add the <strong>-c</strong> parameter:</p>



<pre class="wp-block-preformatted">shutdown /r /t time -c  <em>message</em></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="979" height="510" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/02/re2.png" alt="" class="wp-image-28714" srcset="https://www.osradar.com/wp-content/uploads/2021/02/re2.png 979w, https://www.osradar.com/wp-content/uploads/2021/02/re2-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2021/02/re2-768x400.png 768w, https://www.osradar.com/wp-content/uploads/2021/02/re2-696x363.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<p>The server will restart after the timeout period has elapsed. On the other hand, sometimes there are open programs that prevent a restart. In such a case it is possible to force a shutdown using the following command:</p>



<pre class="wp-block-preformatted">shutdown /r /f</pre>



<p>It is even possible to schedule this task for a remote computer. With this in mind, use the following syntax:</p>



<pre class="wp-block-preformatted">shutdown /r /f /m \\Computer</pre>



<h2>How to shutdown Windows Server 2022 with commands</h2>



<p>The commands for shutting down the server are very similar to that for restarting it. In fact, only the first element changes. So use the following syntax:</p>



<pre class="wp-block-preformatted">shutdown /s /t time</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="978" height="513" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/02/re3.png" alt="Scheduling server shutdown after 400 seconds" class="wp-image-28715" srcset="https://www.osradar.com/wp-content/uploads/2021/02/re3.png 978w, https://www.osradar.com/wp-content/uploads/2021/02/re3-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/02/re3-768x403.png 768w, https://www.osradar.com/wp-content/uploads/2021/02/re3-696x365.png 696w" sizes="(max-width: 978px) 100vw, 978px" /><figcaption>Scheduling server shutdown after 400 seconds</figcaption></figure>



<p>To add a message we use the -c parameter as follows:</p>



<pre class="wp-block-preformatted">shutdown /s /t time -c message</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="972" height="505" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/02/re4-2.png" alt="" class="wp-image-28718" srcset="https://www.osradar.com/wp-content/uploads/2021/02/re4-2.png 972w, https://www.osradar.com/wp-content/uploads/2021/02/re4-2-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2021/02/re4-2-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2021/02/re4-2-696x362.png 696w" sizes="(max-width: 972px) 100vw, 972px" /></figure>



<p>To force applications to close we run:</p>



<pre class="wp-block-preformatted">shutdown /s /f</pre>



<p>It is also possible to use it with remote computers:</p>



<pre class="wp-block-preformatted">shutdown /s /f /m \\COMPUTER</pre>



<p>Ultimately, we have seen how to shutdown and reboot Windows Server 2022 with commands. Consequently, we have an expeditious way to manage these tasks on the server. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-shutdown-and-reboot-windows-server-2022-with-commands/">How to shutdown and reboot Windows Server 2022 with commands.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-shutdown-and-reboot-windows-server-2022-with-commands/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to delete files and folders from CMD in Windows 10</title>
		<link>https://www.osradar.com/how-to-delete-files-and-folders-from-cmd-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-delete-files-and-folders-from-cmd-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Sat, 07 Mar 2020 00:47:51 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[delete files]]></category>
		<category><![CDATA[delete folder]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://windowsmen.com/?p=855</guid>

					<description><![CDATA[<p>Hi, how are you? Windows was born with the purpose of providing users with a graphical interface when using the computer. In fact, in the old DOS or MS-DOS systems everything was controlled by commands. However, Windows came with an intuitive graphical interface that took advantage of the use of a new peripheral known as [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-delete-files-and-folders-from-cmd-in-windows-10/">How to delete files and folders from CMD in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, how are you? Windows was born with the purpose of providing users with a graphical interface when using the computer. In fact, in the old DOS or MS-DOS systems everything was controlled by commands. However, Windows came with an intuitive graphical interface that took advantage of the use of a new peripheral known as the mouse. Currently, all users use Windows with a mouse and navigate through files and folders using the file explorer. On the other hand, it is still possible to do it classically with the CMD. Consequently, we will see how to delete files and folders from CMD in <a href="https://www.microsoft.com/en-us/software-download/windows10" target="_blank" rel="noreferrer noopener" aria-label="Windows 10 (opens in a new tab)">Windows 10</a>.</p>



<h2>Use CMD to delete folders and files</h2>



<p>The idea of a terminal is traditionally associated with Linux operating systems. However, Windows also has its own terminal inherited from MS-DOS. This is known as Command Prompt. You will probably have used the <strong>PING</strong> command to check internet connectivity or <strong>cd</strong> to go to the hard drive directories. However, we will see how to delete folders and files using the CMD. Although it is more comfortable to use the graphical interface, it is always convenient to have this method. Because, sometimes the search button is broken. With this in mind we will use the DEL command. Next, please use the CD command to enter the directory. The syntax is as follows:</p>



<pre class="wp-block-preformatted"> DEL /F /A file.extension</pre>



<p>Please remember to replace the file name with its respective extension. To enter the cmd, just press the Win+Q combination and type CMD.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/del.jpg" alt="Run a CMD" class="wp-image-862"/><figcaption>Run a CMD</figcaption></figure>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/del2.jpg" alt="Delete a file with the DEL command" class="wp-image-865"/><figcaption>Delete a file with the DEL command</figcaption></figure>



<p>The /F switch allows you to force the file to be deleted. While the /A allows to delete only the files marked as <em>ready for archiving</em> by Windows.</p>



<h2>How to delete folders with CMD</h2>



<p>To delete folders, the process is similar to that of deleting files. However, the change is to use the RD command. Similarly, use the CD command to enter the directory where the folder to be deleted is located. To delete folders, the process is similar to that of deleting files. However, the change is to use the RD command. Similarly, use the CD command to enter the directory where the folder to be deleted is located. The syntax is as follows:</p>



<pre class="wp-block-preformatted"> RD /S folder</pre>



<p>Please remember to replace folder with the name of the folder to be deleted.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/del3.jpg" alt="Delete a folder using the RD command." class="wp-image-867"/><figcaption>Delete a folder using the RD command.</figcaption></figure>



<p>The /S parameter indicates that we will also delete all subfolders within the folder.  If it is not used and there is a folder inside, it will not delete the main folder.</p>



<h2>What to do if there is an error message that prevents you from deleting the folder</h2>



<p>It is likely that when you use the DEl or RD command, the system will throw an error message that prevents you from doing the task. This usually happens because of a permission problem. Specifically, when you try to delete a folder you don&#8217;t own. Or when trying to delete a system folder. In those cases, CMD will not allow you to delete the folder or file. To solve this problem, just open CMD with administrator privileges:</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/del-1.jpg" alt="Runs a CMD with administrator privileges " class="wp-image-868"/><figcaption>Runs a CMD with administrator privileges </figcaption></figure>



<p>In this way, it is possible to delete any type of folder or file. The exception is if you try to delete a protected system file.</p>



<h2>Conclusion</h2>



<p>In the final analysis, we saw how to delete files and folders from the CMD in Windows 10. If you like to manage your computer with the terminal, then this is your option. Before saying goodbye, I invite you to our post about an <a href="https://windowsmen.com/switch-is-a-free-alternative-dock-for-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="alternative dock (opens in a new tab)">alternative dock</a> for Windows 10. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-delete-files-and-folders-from-cmd-in-windows-10/">How to delete files and folders from CMD in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-delete-files-and-folders-from-cmd-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install apps in Windows 10 with the command line</title>
		<link>https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/</link>
					<comments>https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Tue, 03 Mar 2020 00:50:21 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[chocolatey]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[cmd windows 10]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[package manager windows]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">https://windowsmen.com/?p=754</guid>

					<description><![CDATA[<p>Hi, how are you? For all traditional Windows users, installing apps has no secrets. In fact, you just have to download the installer, run it and follow the instructions. And by going to the app stores, this process is even easier. Just download it if it&#8217;s free or buy it if it&#8217;s paid and the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/">How to install apps in Windows 10 with the command line</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, how are you? For all traditional Windows users, installing apps has no secrets. In fact, you just have to download the installer, run it and follow the instructions. And by going to the app stores, this process is even easier. Just download it if it&#8217;s free or buy it if it&#8217;s paid and the process will be done automatically. However, it is not the same to install a single application than to install several of them. Especially when you buy a new PC or format an old one. Similarly, when working with maintenance of several computers. Anyway, tools like <a rel="noreferrer noopener" aria-label="Chocolatey  (opens in a new tab)" href="https://chocolatey.org" target="_blank">Chocolatey </a>are very helpful. So in this post we&#8217;ll see how to install apps in Windows 10 from the command line.</p>



<h2>Chocolatey. A package manager for Windows.</h2>



<p>This is a concept traditionally associated with Linux operating systems and away from the Windows ecosystem. In simple terms, it consists in that when installing a program, not only the main package is downloaded, but also the packages on which the program depends. It seems like a complex process, but in reality what it does is simplify the process. Well, Chocolatey what it does is bring this philosophy to Windows. Consequently, it is possible to install apps with a command line command. On the other hand, by installing apps in the traditional way, you run the risk of downloading PUPs or even malware. </p>



<p>Chocolatey makes sure to download the programs from their verified and reliable source. Specifically, there are more than 7,500 packages available to be installed. In the list, there are such well-known options as Google Chrome, Skype, Adobe Acrobat Reader. But there are also free and open source software available, such as 7-Zip, VLC or Mozilla Firefox. First, let&#8217;s install the package manager. This requires running a PowerShell with administrative privileges. With this intention, press the Win+X combination and execute the console:</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco.jpg" alt="Run a PowerShell with administrative privileges" class="wp-image-756"/><figcaption>Run a PowerShell with administrative privileges</figcaption></figure>



<p>Once the console is open, please execute the following command:</p>



<pre class="wp-block-preformatted">Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))</pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco2-1024x548.jpg" alt="Chocolatey installation successful." class="wp-image-758"/><figcaption>Chocolatey installation successful.</figcaption></figure>



<p> It can be seen that the installation route is in&nbsp;<strong>C:\ProgramData\chocolatey</strong>&nbsp;In the same way, the subdirectory lib is used for the packages. </p>



<h2>Install and uninstall apps with Chocolatey.</h2>



<p>Once downloaded and installed, you are ready for the first steps with Chocolatey. First, to access help, please run this command from the PowerShell:</p>



<pre class="wp-block-preformatted"> choco /?  </pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco3-1024x548.jpg" alt="Chocolatey Help" class="wp-image-761"/><figcaption>Chocolatey Help</figcaption></figure>



<p>To see if a package is available, use the <em>search</em> command::</p>



<pre class="wp-block-preformatted">search</pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco4.jpg" alt="Winrar package available" class="wp-image-762"/><figcaption>Winrar package available</figcaption></figure>



<p>To install it, just run this command:</p>



<pre class="wp-block-preformatted">choco install winrar</pre>



<p>Please note that you always have to confirm the installation.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco5.jpg" alt="Installing Winrar with Chocolatey" class="wp-image-764"/><figcaption>Installing Winrar with Chocolatey</figcaption></figure>



<p>To uninstall the program just use the command:</p>



<pre class="wp-block-preformatted">uninstall</pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco6-1-1024x548.jpg" alt="Uninstall the app" class="wp-image-767"/><figcaption>Uninstall the app</figcaption></figure>



<h2>Other useful commands from Chocolatey.</h2>



<p>Once you have several programs installed using Chocolatey, it is possible to update them all using the update command:</p>



<pre class="wp-block-preformatted">choco update</pre>



<p>To install several programs at once, use the install command followed by the names of all the packages. Example:</p>



<pre class="wp-block-preformatted">choco Install firefox 7zip vlc skype </pre>



<p>In this example four popular apps will be installed. These are the Firefox browser, the 7zip file uncompressor, the VLC media player and the Skype video calling and messaging app. On the other hand, to install the Chocolatey graphic manager, run this command:</p>



<pre class="wp-block-preformatted"> choco install chocolateygui </pre>



<p>Besides, to see a list of all available packages, use this command:</p>



<pre class="wp-block-preformatted">choco list</pre>



<h2>Conclusion</h2>



<p>Ultimately, we&#8217;ve seen how to install apps on Windows 10 using the command line. Consequently, you have another interesting option to install programs quickly and safely. Likewise, you can see the programs available and their respective command from the <a rel="noreferrer noopener" aria-label="Chocolatey  (opens in a new tab)" href="https://chocolatey.org/packages" target="_blank">Chocolatey </a>website. All right, that&#8217;s it for now. Before saying goodbye I invite you to see our post about the next Windows 10 <a href="https://windowsmen.com/windows-10-update-kb4535996-is-not-available-to-everyone/" target="_blank" rel="noreferrer noopener" aria-label="update (opens in a new tab)">update</a>. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/">How to install apps in Windows 10 with the command line</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to uninstall programs with CMD in Windows 10</title>
		<link>https://www.osradar.com/how-to-uninstall-programs-with-cmd-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-uninstall-programs-with-cmd-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Thu, 13 Feb 2020 23:44:07 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[cmd windows 10]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[uninstall programs]]></category>
		<category><![CDATA[uninstall programs cmd]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://windowsmen.com/?p=274</guid>

					<description><![CDATA[<p>Hi, how are you? Today will see how to uninstall programs with CMD in Windows 10. We often install a lot of applications on the system. In general, these are to improve productivity or simply for personal use. In addition, the catalog of possibilities is enormous since it can be installed from external sources. But [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-uninstall-programs-with-cmd-in-windows-10/">How to uninstall programs with CMD in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, how are you?  Today will see how to uninstall programs with <a rel="noreferrer noopener" aria-label="CMD (opens in a new tab)" href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands" target="_blank">CMD</a> in Windows 10.  We often install a lot of applications on the system. In general, these are to improve productivity or simply for personal use. In addition, the catalog of possibilities is enormous since it can be installed from external sources. But there is also the Microsoft store as an alternative. But not always what we have installed in what we need, and the PC ends up slowing down the computer. Therefore, the best option is to uninstall the app. </p>



<p>Most of the time, the programs include an uninstaller. Likewise, the most direct way to do it is through the Control Panel. However, some programs resist being uninstalled. Or, they leave residues of their code on the system. It is also possible that the Control Panel is damaged and cannot be accessed. In such cases, it is possible to use the Command Prompt alternative. </p>



<h2>Run a Command Prompt as an administrator</h2>



<p>First, it is imperative to open a CMD as an administrator. With this in mind, please press the Win+Q combination. Once inside the search bar, please type CMD and run the application as administrator.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/02/cmd.jpg" alt="Runs a CMD as an administrator" class="wp-image-275"/><figcaption>Runs a CMD as an administrator</figcaption></figure>



<p>Once the console is launched, please run the <em>wmic </em>command</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/02/cmd2.jpg" alt="Run wmic command" class="wp-image-276"/><figcaption>Run wmic command</figcaption></figure>



<p><strong>Wmic</strong> (Windows Management Instrumentation Console) is a system console with which we can manage both local and remote equipment. In the same way, several support tasks can be done such as generating information, starting, stopping and pausing processes. Once we run wmic we will enter the following command to access details of the installed programs.</p>



<pre class="wp-block-preformatted"> product get name </pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/02/cmd3.jpg" alt="List of installed programs." class="wp-image-277"/><figcaption>List of installed programs.</figcaption></figure>



<p>Now, to uninstall any program, just run the following command:</p>



<pre class="wp-block-preformatted">product where name="app" call uninstall </pre>



<p>Please remember to replace the app value with the name of the application you wish to uninstall. For example:</p>



<pre class="wp-block-preformatted">product where name="HPPhotoGadget" call uninstall  </pre>



<p>The program installation path will be displayed immediately. In addition, a confirmation will be requested since this process is irreversible.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/02/cmd4.jpg" alt="Starting the uninstallation process." class="wp-image-278"/><figcaption>Starting the uninstallation process.</figcaption></figure>



<p>If you press the letter N, we will continue in the Wmic console. But if you press the letter Y, the uninstallation process will be completed. </p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/02/CMD5.jpg" alt="Successfully uninstalled program" class="wp-image-279"/><figcaption>Successfully uninstalled program</figcaption></figure>



<h2>Conclusion</h2>



<p>Ultimately we have seen how to uninstall Windows programs with the CMD. This is a good alternative to those programs that resist being uninstalled. Well, that&#8217;s all for now. Please visit our post about what&#8217;s new in the latest version of <a href="https://windowsmen.com/windows-10-19564-for-testers-includes-a-new-calendar-app/" target="_blank" rel="noreferrer noopener" aria-label="Windows  (opens in a new tab)">Windows </a>Insider. See you later!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-uninstall-programs-with-cmd-in-windows-10/">How to uninstall programs with CMD in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-uninstall-programs-with-cmd-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
