<?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>Jared Heinrichs &#187; Command Prompt</title>
	<atom:link href="http://jaredheinrichs.com/category/operating-system/command-prompt/feed" rel="self" type="application/rss+xml" />
	<link>http://jaredheinrichs.com</link>
	<description>A Winnipeg &#34;How to&#34; Blog on Software and Technology</description>
	<lastBuildDate>Sat, 19 May 2012 22:43:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Wipe Free Disk Space using cipher</title>
		<link>http://jaredheinrichs.com/how-to-wipe-free-disk-space-using-cipher.html</link>
		<comments>http://jaredheinrichs.com/how-to-wipe-free-disk-space-using-cipher.html#comments</comments>
		<pubDate>Fri, 01 Oct 2010 16:09:08 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Command Prompt]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/?p=3038</guid>
		<description><![CDATA[It&#8217;s no secret (or at least, it shouldn&#8217;t be) that when you delete files or folders in Windows, they&#8217;re not actually erased. The space they took up is simply marked as &#8220;available for use,&#8221; which allows the files to be &#8230; <a href="http://jaredheinrichs.com/how-to-wipe-free-disk-space-using-cipher.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s no secret (or at least, it shouldn&#8217;t be) that when you delete files or folders in Windows, they&#8217;re not actually erased. The space they took up is simply marked as &#8220;available for use,&#8221; which allows the files to be recoverable (with the right software) until they&#8217;re overwritten with new data.</p>
<p>There is a utility built-into Windows (even XP Pro and Vista) that will overwrite all the free space on a hard drive, insuring any files you&#8217;ve deleted stay dead. Launch a command prompt and type cipher /w:X where X is the letter of the drive or partition you want to wipe. Be patient the process can take a long time if you have a lot of free space.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-wipe-free-disk-space-using-cipher.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to delete OEM Partition</title>
		<link>http://jaredheinrichs.com/how-to-delete-oem-partition.html</link>
		<comments>http://jaredheinrichs.com/how-to-delete-oem-partition.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 02:45:19 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Command Prompt]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-delete-oem-partition.html</guid>
		<description><![CDATA[This post will cover how to delete an OEM Partition. OEM partitions can be made by Dell or Lenovo. If you use the GUI Disk Management tools you’ll notice you can’t delete the OEM Partition. In order to delete the &#8230; <a href="http://jaredheinrichs.com/how-to-delete-oem-partition.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This post will cover how to delete an OEM Partition. OEM partitions can be made by Dell or Lenovo. If you use the GUI Disk Management tools you’ll notice you can’t delete the OEM Partition. In order to delete the OEM partition you are going to need to use a command line tool called Diskpart.</p>
<p> <span id="more-1810"></span>
<p><font color="#666666" face="Trebuchet MS">First of all this is probably what you are currently looking at:</font></p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb.png" width="497" height="107" /></a> </p>
<p>If you hit “DELETE” on the OEM Partition you can’t delete it like other partitions. If you right click on the OEM partition you will notice you don’t have the same options.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb1.png" width="287" height="103" /></a> </p>
<p>Normally you’d see:</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb2.png" width="264" height="281" /></a> </p>
<p>To delete the OEM partition you are going to need to hit “Windows Key” + “R”. This will open the run dialogue box. Type “diskpart” and hit “OK”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb3.png" width="402" height="195" /></a> </p>
<p>This will open a black command prompt like window. Type “list disk”. This will display all the disks.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb4.png" width="444" height="159" /></a> </p>
<p>You can verify which disk you want to edit using the “Disk Management Tools”. The Disk management tools can be found by Right Clicking Computer and selecting “Management”.As you can tell from the first screen shot in this post the OEM partition is located on Disk 2.</p>
<p>You must now select the disk with the OEM partition on it. Again in my case it is “Disk 2”. To select the disk you must type “select disk 2”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image7.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb5.png" width="446" height="54" /></a> </p>
<p>You can now type “list partition” to list all the partitions on the disk just in case you want to verify you absolutely have the right disk selected.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image8.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb6.png" width="450" height="76" /></a> </p>
<p>You must now select the partition. In my case it is “Partition 1”. To do this you must type the command “select partition 1”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image9.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb7.png" width="431" height="50" /></a> </p>
<p>Now type “delete partition override”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/11/image10.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/11/image_thumb8.png" width="465" height="52" /></a> </p>
<p>Once you do that you have officially removed the OEM partition on the drive! Congratulations! </p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-delete-oem-partition.html/feed</wfw:commentRss>
		<slash:comments>134</slash:comments>
		</item>
		<item>
		<title>How to troubleshoot email using telnet</title>
		<link>http://jaredheinrichs.com/how-to-troubleshoot-email-using-telnet.html</link>
		<comments>http://jaredheinrichs.com/how-to-troubleshoot-email-using-telnet.html#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:06:34 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Command Prompt]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-troubleshoot-email-using-telnet.html</guid>
		<description><![CDATA[This article will cover troubleshooting sending email using telnet. If you are using Windows XP or Windows 7 you just need to install the the built in telnet program. If you are running Windows Vista in order to use telnet &#8230; <a href="http://jaredheinrichs.com/how-to-troubleshoot-email-using-telnet.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 0px 5px 0px 0px; display: inline; border: 0px;" title="Troubleshoot Email using Telnet" src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image79.png" border="0" alt="nslookup Command" width="100" height="100" align="left" /></p>
<p>This article will cover troubleshooting sending email using telnet. If you are using Windows XP or Windows 7 you just need to install the the built in telnet program. If you are running Windows Vista in order to use telnet you should download “puttytel”.</p>
<p> </p>
<p> </p>
<p><span id="more-1129"></span></p>
<p>These are the steps you would use to test sending emails using telnet. This assumes that telnet is running on your machine or you have installed puttytel. Puttytel will be a bit different but shouldn’t be that different that you won’t be able to follow along.</p>
<p>1.) Open Command Prompt – Start – Run – cmd.exe</p>
<p>2.) type “telnet domain-name.com 25” – Eg. Here’s a real life example. telnet smtp.themeetingplace.mb.ca 25 (BTW</p>
<p>What this is going to try and do is:</p>
<p>a.) Run Telnet connection</p>
<p>b.) To smtp.themeetingplace.mb.ca</p>
<p>c.) on Port 25.</p>
<p>Here’s an example of what will be displayed.</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image86.png" border="0" alt="image" width="521" height="108" /></p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image87.png" border="0" alt="image" width="468" height="80" /> </p>
<p>Here’s an example how to test sending email using Telnet. I have replaced the “@” with “_” to prevent spiders from harvesting the email addresses.</p>
<blockquote>
<pre class="csharpcode">HELO smtp.themeetingplace.mb.ca
MAIL FROM: &lt;tech_themeetingplace.mb.ca&gt;
RCPT TO: &lt;jheinrichs_winningdesigns.ca&gt;
DATA:
Subject: Test email <span class="kwrd">using</span> Telnet
From: tech_themeetingplace.mb.ca
To: jheinrichs_winningdesigns.ca
&lt;hit Enter&gt;
Hello,
This <span class="kwrd">is</span> a test <span class="kwrd">using</span> telnet
Goodbye!
&lt;hit Enter&gt;
QUIT
.</pre>
<p><!--<br />
.csharpcode, .csharpcode pre<br />
{<br />
font-size: small;<br />
color: black;<br />
font-family: consolas, "Courier New", courier, monospace;<br />
background-color: #ffffff;<br />
/*white-space: pre;*/<br />
}<br />
.csharpcode pre { margin: 0em; }<br />
.csharpcode .rem { color: #008000; }<br />
.csharpcode .kwrd { color: #0000ff; }<br />
.csharpcode .str { color: #006080; }<br />
.csharpcode .op { color: #0000c0; }<br />
.csharpcode .preproc { color: #cc6633; }<br />
.csharpcode .asp { background-color: #ffff00; }<br />
.csharpcode .html { color: #800000; }<br />
.csharpcode .attr { color: #ff0000; }<br />
.csharpcode .alt<br />
{<br />
background-color: #f4f4f4;<br />
width: 100%;<br />
margin: 0em;<br />
}<br />
.csharpcode .lnum { color: #606060; } --></p></blockquote>
<p> </p>
<p>The period “.” in the telnet session closes the connection. It has to be on the last line. Please note the using the back-key it inserts special hidden character that can mess up sending the message.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-troubleshoot-email-using-telnet.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to use nslookup</title>
		<link>http://jaredheinrichs.com/how-to-use-nslookup.html</link>
		<comments>http://jaredheinrichs.com/how-to-use-nslookup.html#comments</comments>
		<pubDate>Thu, 25 Jun 2009 19:39:48 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Command Prompt]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-use-nslookup.html</guid>
		<description><![CDATA[This post will cover how to use the “nslookup command”. You are going to want to use the “nslookup command” when ever you are trying to troubleshoot DNS issues. I will walk through looking up A Host Records as well &#8230; <a href="http://jaredheinrichs.com/how-to-use-nslookup.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img style="border-right-width: 0px; margin: 0px 5px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="nslookup Command" border="0" alt="nslookup Command" align="left" src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image79.png" width="100" height="100" /> This post will cover how to use the “nslookup command”. You are going to want to use the “nslookup command” when ever you are trying to troubleshoot DNS issues. I will walk through looking up A Host Records as well as PTR Records.</p>
<p>&#160;</p>
<p> <span id="more-1122"></span><br />
<h4>How to Run “nslookup”.</h4>
<p>You are going to need to open a command prompt. To do this in Windows go to “START” &#8211; “RUN” – and then type “cmd”. This will open the command prompt.</p>
<p>Once the command prompt is up and running you are going to want to type in: “nslookup”</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="nslookup command." border="0" alt="nslookup command." src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image80.png" width="515" height="79" /> </p>
<p>You will notice that you are given two pieces of information.</p>
<ol>
<li>Default Server: This is the default DNS server that your machine is using. </li>
<li>Address: This is the IP address of the DNS server that your machine is using. </li>
</ol>
<p>Underneath this info from the nslookup command you will see this:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="nslookup prompt" border="0" alt="nslookup prompt" src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image82.png" width="171" height="25" /> </p>
<p>This is where you are going to be able to type in “Filters”. These filters are going to be like “MX”, A Records , or PTR records. For example to turn on the filter in nslookup to only show MX records you would type:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="set type=MX" border="0" alt="set type=MX" src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image83.png" width="158" height="21" /> </p>
<p>You have now set the filter “Type” to MX. This will now only display MX records. Here’s the output from me looking up Google&#8217;s MX records.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="nslookup output" border="0" alt="nslookup output" src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image84.png" width="529" height="263" /> </p>
<p>Another command you might want to try is setting the filter to type=PTR. That is Reverse Lookup.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="nslookup: set type=PTR" border="0" alt="nslookup: set type=PTR" src="http://jaredheinrichs.com/wp-content/uploads/2009/06/image85.png" width="529" height="164" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-use-nslookup.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

