<?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>gHacks technology news &#187; windows script</title>
	<atom:link href="http://www.ghacks.net/tag/windows-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Mon, 09 Nov 2009 23:09:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Prevent Windows Registry from remembering last key viewed</title>
		<link>http://www.ghacks.net/2008/10/21/prevent-windows-registry-from-remembering-last-key-viewed/</link>
		<comments>http://www.ghacks.net/2008/10/21/prevent-windows-registry-from-remembering-last-key-viewed/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 08:54:00 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[registry hives]]></category>
		<category><![CDATA[registry tips]]></category>
		<category><![CDATA[windows registry]]></category>
		<category><![CDATA[windows script]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=7765</guid>
		<description><![CDATA[One of the things that bothers me the most is when I open the Windows Registry to edit a key and it loads up showing me the last key I had viewed. I normally go into the Registry to make one change and that’s it. I never go back and edit the same key. Wouldn’t it be great if you could open the registry and all the hives would load up collapsed like you opened it for the first time ever?]]></description>
			<content:encoded><![CDATA[<p>“This is a guest post by Aseem Kishore, the lead blogger for <a href="http://HelpDeskGeek.com">HelpDeskGeek.com</a>, which focuses on providing Help Desk tips to IT Professionals.”</p>
<p>One of the things that bothers me the most is when I open the Windows Registry to edit a key and it loads up showing me the last key I had viewed. I normally go into the Registry to make one change and that’s it. I never go back and edit the same key. Wouldn’t it be great if you could open the registry and all the hives would load up collapsed like you opened it for the first time ever?</p>
<p>Luckily, there’s a little shortcut you can create to the registry that will get rid of that annoying little feature. It’s actually a script with a few lines of code. Just open Notepad and paste in the following lines of code:</p>
<p><span id="more-7765"></span><code>Dim objShell, RegKey, Q</p>
<p>Set objShell = CreateObject("WScript.Shell")</p>
<p>strQuote = chr(34)      </p>
<p>RegKey = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit"</p>
<p>RegKey = RegKey &#038; "\LastKey"</p>
<p>objShell.RegWrite RegKey, ""</p>
<p>objShell.Run "regedit"</code></p>
<p>Save the file with a .VBS extension, which stands for Visual Basic Script. To do this in Notepad, choose All Files for the Save as type combo box and name the file “Registry.vbs” without the quotes.</p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2008/10/registry.png" alt="registry" title="registry" width="458" height="94" class="alignnone size-medium wp-image-7766" /></p>
<p>So now instead of opening the Registry and getting something that looks like this:</p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2008/10/registry_windows.png" alt="registry windows" title="registry windows" width="271" height="322" class="alignnone size-medium wp-image-7767" /></p>
<p>You can easily start from the very top of the Registry hives like normal!</p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2008/10/registry_hives.png" alt="registry hives" title="registry hives" width="243" height="161" class="alignnone size-medium wp-image-7768" /> </p>
<p>If you want to make if more official, you can change the icon for the VBS script file to the Registry icon. In order to do this, you have to create a shortcut to the script. Just right-click on Registry.vbs, click on Send To, and then click on Desktop (create shortcut).</p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2008/10/send_to_desktop.png" alt="send to desktop" title="send to desktop" width="388" height="164" class="alignnone size-medium wp-image-7769" /></p>
<p>Now right-click on the shortcut icon and click on Rename. Name the shortcut Registry. Next right-click again and go to Properties. Click on the Change Icon button.</p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2008/10/change_icon.png" alt="change icon" title="change icon" width="357" height="364" class="alignnone size-medium wp-image-7770" /></p>
<p>Choose the Registry icon from the list of icons. Finally you can copy your shortcut to the Start Menu for easy acce</p>

	Tags: <a href="http://www.ghacks.net/tag/registry/" title="registry" rel="tag">registry</a>, <a href="http://www.ghacks.net/tag/registry-hives/" title="registry hives" rel="tag">registry hives</a>, <a href="http://www.ghacks.net/tag/registry-tips/" title="registry tips" rel="tag">registry tips</a>, <a href="http://www.ghacks.net/tag/windows/" title="Windows" rel="tag">Windows</a>, <a href="http://www.ghacks.net/tag/windows-registry/" title="windows registry" rel="tag">windows registry</a>, <a href="http://www.ghacks.net/tag/windows-script/" title="windows script" rel="tag">windows script</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/08/how-to-change-the-edit-application-in-windows/" title="How To Change The Edit Application In Windows (February 8, 2009)">How To Change The Edit Application In Windows</a> (8)</li>
	<li><a href="http://www.ghacks.net/2008/05/13/defrag-the-registry-with-regdefrag/" title="Defrag the Registry with Regdefrag (May 13, 2008)">Defrag the Registry with Regdefrag</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/01/13/windows-registry-protection/" title="Windows Registry Protection (January 13, 2009)">Windows Registry Protection</a> (9)</li>
	<li><a href="http://www.ghacks.net/2009/04/03/usb-flash-drive-write-protection/" title="USB Flash Drive Write Protection (April 3, 2009)">USB Flash Drive Write Protection</a> (12)</li>
	<li><a href="http://www.ghacks.net/2009/09/06/remove-shared-documents-and-user-documents-from-my-computer/" title="Remove Shared Documents And User Documents From My Computer (September 6, 2009)">Remove Shared Documents And User Documents From My Computer</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/10/21/prevent-windows-registry-from-remembering-last-key-viewed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Automate and Script Windows Tasks</title>
		<link>http://www.ghacks.net/2006/10/22/automate-and-script-windows-tasks/</link>
		<comments>http://www.ghacks.net/2006/10/22/automate-and-script-windows-tasks/#comments</comments>
		<pubDate>Sun, 22 Oct 2006 08:47:11 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[autoit]]></category>
		<category><![CDATA[automate tasks]]></category>
		<category><![CDATA[autoscripts]]></category>
		<category><![CDATA[windows script]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2006/10/22/automate-and-script-windows-tasks/</guid>
		<description><![CDATA[AutoIt is a freeware scripting language that runs on every Windows operating system starting with Windows 95. It makes it possible to use a combination of mouse movements, keystrokes and window / control manipulation to automate tasks in Windows. It is also capable of executing Windows and Dos programs.]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" title="autoit automate and script windows tasks" href="http://www.autoitscript.com/autoit3/">AutoIt</a> is a freeware scripting language that runs on every Windows operating system starting with Windows 95. It makes it possible to use a combination of mouse movements, keystrokes and window / control manipulation to automate tasks in Windows. It is also capable of executing Windows and Dos programs.</p>
<p>The <a target="_blank" title="autoit documentation" href="http://www.autoitscript.com/autoit3/docs/">documentation</a> gives a thorough introduction to AutoIt and explains most features including some tutorials to get you started. This might be not that easy for someone who never coded before but everyone else should feel right at home with this basic like language.</p>
<p><span id="more-865"></span>The <a target="_blank" title="autoit forum" href="http://www.autoitscript.com/forum/index.php?showforum=9">forum</a> is the place to learn more and ask questions about the tool. It has a whole subforum where users submit their autoscripts and everyone is able to use them on his own computer. This means that even though you do not code tasks on your own you can still use many by simply downloading the from the forums.</p>

	Tags: <a href="http://www.ghacks.net/tag/autoit/" title="autoit" rel="tag">autoit</a>, <a href="http://www.ghacks.net/tag/automate-tasks/" title="automate tasks" rel="tag">automate tasks</a>, <a href="http://www.ghacks.net/tag/autoscripts/" title="autoscripts" rel="tag">autoscripts</a>, <a href="http://www.ghacks.net/tag/windows-script/" title="windows script" rel="tag">windows script</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/10/21/prevent-windows-registry-from-remembering-last-key-viewed/" title="Prevent Windows Registry from remembering last key viewed (October 21, 2008)">Prevent Windows Registry from remembering last key viewed</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/11/25/minimize-windows-to-a-single-system-tray-icon/" title="Minimize Windows To A Single System Tray Icon (November 25, 2008)">Minimize Windows To A Single System Tray Icon</a> (4)</li>
	<li><a href="http://www.ghacks.net/2006/07/10/automate-and-record-tasks-with-firefox/" title="Automate and Record Tasks with Firefox (July 10, 2006)">Automate and Record Tasks with Firefox</a> (5)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2006/10/22/automate-and-script-windows-tasks/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
