<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My PKB</title>
	<atom:link href="http://mypkb.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mypkb.wordpress.com</link>
	<description>Things I once knew... My Personal Knowledge Base</description>
	<pubDate>Tue, 08 Jan 2008 06:48:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>How to programmatically set the processor affinity of an application - Updated</title>
		<link>http://mypkb.wordpress.com/2008/01/08/how-to-programmatically-set-the-processor-affinity-of-an-application-updated/</link>
		<comments>http://mypkb.wordpress.com/2008/01/08/how-to-programmatically-set-the-processor-affinity-of-an-application-updated/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 06:41:26 +0000</pubDate>
		<dc:creator>mypkb</dc:creator>
		
		<category><![CDATA[Fix]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[how to]]></category>

		<category><![CDATA[Microsoft Application Compatibility Toolkit]]></category>

		<category><![CDATA[processor affinity]]></category>

		<guid isPermaLink="false">http://mypkb.wordpress.com/2008/01/08/how-to-programmatically-set-the-processor-affinity-of-an-application-updated/</guid>
		<description><![CDATA[A few months back I wrote a post explaining how to set the processor affinity of an application using a little free utility called process.exe. Soon after, our new antivirus software (NOD32) flagged process.exe as a threat, removed it, and prevented me from reinstalling it. I had to look for another solution and discovered Microsoft [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A few months back I wrote a <a href="http://mypkb.wordpress.com/wp-admin/How%20to%20programmatically%20set%20the%20processor%20affinity%20of%20an%20application" title="Previous post on how to programmatically set the processor affinity of an application" target="_blank">post</a> explaining how to set the processor affinity of an application using a little free utility called process.exe. Soon after, our new antivirus software (<a href="http://www.eset.com/" title="Link to Eset.com" target="_blank">NOD32</a>) flagged process.exe as a threat, removed it, and prevented me from reinstalling it. I had to look for another solution and discovered Microsoft Application Compatibility Toolkit 5.0.</p>
<p>As an example, I&#8217;ll show you how to set the processor affinity of Microsoft Word to force it to use only 1 processor on a dual core system:</p>
<p>1.  Download and install <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=24da89e9-b581-47b0-b45e-492dd6da2971&amp;displaylang=en" title="ACT 5.0" target="_blank">Microsoft Application Compatibility Toolkit 5.0</a> (you need <i>Application Compatibility Toolkit.msi</i>)</p>
<p>2.  Go to <b>Start&gt;Programs&gt;Microsoft Application Compatibility Toolkit 5.0</b> and click on <b>Compatibility Administrator</b>. The following window appears (click to enlarge):</p>
<p><a href="http://mypkb.files.wordpress.com/2008/01/compatibility-administrator.gif" title="Compatibility Administrator window"></a></p>
<div style="text-align:center;"><a href="http://mypkb.files.wordpress.com/2008/01/compatibility-administrator.gif" title="Compatibility Administrator window"><img src="http://mypkb.files.wordpress.com/2008/01/compatibility-administrator.thumbnail.gif" alt="Compatibility Administrator window" /></a></div>
<p align="left">&nbsp;</p>
<p>3.  Right-click on <b>New Database(1)[Untitled_1]</b> and select <b>Create New&gt;Application Fix</b>:</p>
<p><a href="http://mypkb.files.wordpress.com/2008/01/application-fix.gif" title="Application Fix"></a></p>
<div style="text-align:center;"><a href="http://mypkb.files.wordpress.com/2008/01/application-fix.gif" title="Application Fix"><img src="http://mypkb.files.wordpress.com/2008/01/application-fix.thumbnail.gif" alt="Application Fix" /></a></div>
<p align="left">&nbsp;</p>
<p align="left">4.  Complete the <b>Program information</b> page and click <b>Next</b>. Note that the name of the program and the name of the vendor can be anything you want, only the path to the exe has to be exact:</p>
<p align="center"><a href="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix.gif" title="Create new Application Fix"><img src="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix.thumbnail.gif" alt="Create new Application Fix" /></a></p>
<p align="left">&nbsp;</p>
<p align="left">5.  Because we are only interested in setting the processor affinity, select <b>None</b> on the <b>Compatibility Modes</b> page and then click <b>Next</b>:</p>
<p align="left"><a href="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-2.gif" title="Compatibility Modes"></a></p>
<div style="text-align:center;"><a href="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-2.gif" title="Compatibility Modes"><img src="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-2.thumbnail.gif" alt="Compatibility Modes" /></a></div>
<p align="left">&nbsp;</p>
<p align="left">6. This is the page we are interested in. Scroll down to select <b>SingleProcAffinity</b> in the list of compatibility fixes, then click <b>Nex</b>t:</p>
<p align="left"><a href="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-3.gif" title="Create new Application Fix"></a></p>
<div style="text-align:center;"><a href="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-3.gif" title="Create new Application Fix"><img src="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-3.thumbnail.gif" alt="Create new Application Fix" /></a></div>
<p align="left">&nbsp;</p>
<p align="left">7.  Do not change any settings on the last page unless you know what you are doing. Just click <b>Finish</b>:</p>
<p align="left"><a href="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-4.gif" title="Create new Application Fix"></a></p>
<div style="text-align:center;"><a href="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-4.gif" title="Create new Application Fix"><img src="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-4.thumbnail.gif" alt="Create new Application Fix" /></a></div>
<p align="left">&nbsp;</p>
<p align="left">8.  Click on <b>File&gt;Save</b>. First give a name to your database:</p>
<p align="center"><a href="http://mypkb.files.wordpress.com/2008/01/save-database.gif" title="Save Database"></a></p>
<div style="text-align:center;"><a href="http://mypkb.files.wordpress.com/2008/01/save-database.gif" title="Save Database"><img src="http://mypkb.files.wordpress.com/2008/01/save-database.thumbnail.gif" alt="Save Database" /></a></div>
<p>Then save the actual database file:</p>
<p><a href="http://mypkb.files.wordpress.com/2008/01/save-database-2.gif" title="Save Database file"></a></p>
<div style="text-align:center;"><a href="http://mypkb.files.wordpress.com/2008/01/save-database-2.gif" title="Save Database file"><img src="http://mypkb.files.wordpress.com/2008/01/save-database-2.thumbnail.gif" alt="Save Database file" /></a></div>
<p align="left">&nbsp;</p>
<p>9.  Finally, install the fix by right-clicking the name of your database and selecting <b>Install</b>:</p>
<p><a href="http://mypkb.files.wordpress.com/2008/01/install-fix.gif" title="Install Fix"></a></p>
<div style="text-align:center;"><a href="http://mypkb.files.wordpress.com/2008/01/install-fix.gif" title="Install Fix"><img src="http://mypkb.files.wordpress.com/2008/01/install-fix.thumbnail.gif" alt="Install Fix" /></a></div>
<p align="left">&nbsp;</p>
<p>10.  Done! You can now close the <b>Compatibility Administrator</b>. Next time you launch Word, it will only use one CPU.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mypkb.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mypkb.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mypkb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mypkb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mypkb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mypkb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mypkb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mypkb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mypkb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mypkb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mypkb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mypkb.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mypkb.wordpress.com&blog=747388&post=28&subd=mypkb&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mypkb.wordpress.com/2008/01/08/how-to-programmatically-set-the-processor-affinity-of-an-application-updated/feed/</wfw:commentRss>
	
		<media:content url="http://mypkb.files.wordpress.com/2008/01/compatibility-administrator.thumbnail.gif" medium="image">
			<media:title type="html">Compatibility Administrator window</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2008/01/application-fix.thumbnail.gif" medium="image">
			<media:title type="html">Application Fix</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix.thumbnail.gif" medium="image">
			<media:title type="html">Create new Application Fix</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-2.thumbnail.gif" medium="image">
			<media:title type="html">Compatibility Modes</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-3.thumbnail.gif" medium="image">
			<media:title type="html">Create new Application Fix</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2008/01/create-new-application-fix-4.thumbnail.gif" medium="image">
			<media:title type="html">Create new Application Fix</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2008/01/save-database.thumbnail.gif" medium="image">
			<media:title type="html">Save Database</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2008/01/save-database-2.thumbnail.gif" medium="image">
			<media:title type="html">Save Database file</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2008/01/install-fix.thumbnail.gif" medium="image">
			<media:title type="html">Install Fix</media:title>
		</media:content>
	</item>
		<item>
		<title>How to add SATA drivers offline to a WIM image of Windows XP</title>
		<link>http://mypkb.wordpress.com/2008/01/07/how-to-add-sata-drivers-offline-to-a-wim-image-of-windows-xp/</link>
		<comments>http://mypkb.wordpress.com/2008/01/07/how-to-add-sata-drivers-offline-to-a-wim-image-of-windows-xp/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 17:12:10 +0000</pubDate>
		<dc:creator>mypkb</dc:creator>
		
		<category><![CDATA[Imaging]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[ImageX]]></category>

		<category><![CDATA[SATA drivers]]></category>

		<category><![CDATA[WIM]]></category>

		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://mypkb.wordpress.com/2008/01/07/how-to-add-sata-drivers-offline-to-a-wim-image-of-windows-xp/</guid>
		<description><![CDATA[I have been using ImageX to create WIM images of Windows XP for some time now. After imaging a Toshiba A9 laptop with an image created on a Toshiba A8, Windows XP failed to boot, displaying instead the dreaded Stop Error 0&#215;0000007B INACCESSIBLE_BOOT_DEVICE. To quote the Microsoft knowledge base article: &#8220;This error may occur if [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been using <a target="_blank" href="http://technet2.microsoft.com/WindowsVista/en/library/a8848521-b3ca-4c6c-81f0-6954f671cfe01033.mspx?mfr=true" title="What is ImageX?">ImageX</a> to create WIM images of Windows XP for some time now. After imaging a Toshiba A9 laptop with an image created on a Toshiba A8, Windows XP failed to boot, displaying instead the dreaded <a target="_blank" href="http://support.microsoft.com/kb/314082" title="You receive a Stop 0x0000007B error after you move the Windows XP system disk to another computer">Stop Error 0&#215;0000007B INACCESSIBLE_BOOT_DEVICE</a>. To quote the Microsoft knowledge base article: &#8220;This error may occur if the registry entries and the drivers for the mass storage controller hardware in the backup computer are not installed in Windows XP.&#8221; In other words, Windows doesn&#8217;t have the SATA drivers needed to communicate with the hard disk. The next step is usually to:</p>
<ol>
<li>Download the necessary drivers</li>
<li>Copy the drivers to a floppy disk</li>
<li>Run a <a href="http://www.microsoft.com/windowsxp/using/helpandsupport/learnmore/tips/doug92.mspx" title="Perform a Repair Installation">repair install of XP</a></li>
<li>Press F6 when prompted during Setup to install the drivers</li>
<li>Run Sysprep</li>
<li>Recapture an image that will now have the necessary drivers installed</li>
</ol>
<p>This time however, I decided to take advantage of ImageX&#8217;s ability to easily mount a WIM image for offline editing. So here is what I did (be aware that this is a hack, it worked for me but there&#8217;s no guarantee that it&#8217;ll work for you):</p>
<ol>
<li>Downloaded and extracted the needed SATA drivers from the Toshiba website. The archive contains 6 files: <i>iaahci.cat</i>, <i>iaahci.inf</i>, <i>iastor.cat</i>, <i>iastor.inf</i>, <i>iaStor.sys</i>, and <i>TXTSETUP.OEM.<br />
</i></li>
<li>Mounted the WIM image of Windows XP to an empty folder (<code>C:\Mount</code>) using the command:<br />
<code>imagex /mountrw C:\PathToYourWIMImage\WindowsXP.wim 1 C:\Mount<br />
</code></li>
<li>Followed the instructions on <a target="_blank" href="http://www.911cd.net/forums//index.php?showtopic=20246" title="FixIDE Plugin">this thread</a> to copy the driver files where they belong:
<ul>
<li>Copied the .inf files (<em>iaahci.inf</em> and <em>iastor.inf</em>) to <em>C:\Mount\Windows\inf</em></li>
<li>Copied the .sys file (<em>iaStor.sys</em>) to <em>C:\Mount\Windows\system32\drivers</em></li>
<li>Copied all remaining files (<i>iaahci.cat</i>, <i>iastor.cat</i>, <i>iaStor.sys</i>, and <i>TXTSETUP.OEM</i>) to <i>C:\Mount\Windows\system32</i></li>
</ul>
<blockquote><p><i></i></p>
<ul></ul>
</blockquote>
</li>
<li>Loaded the <b>HKEY_LOCAL_MACHINE\SYSTEM</b> hive of the mounted image in the registry:
<ul>
<li>Opened the <b>Registry Editor</b> (type <code>regedit</code> at the command prompt)</li>
<li>Selected the <b>HKEY_LOCAL_MACHINE</b> hive</li>
<li>Clicked on <b>File&gt;Load Hive</b> and selected <i>C:\Mount\Windows\system32\config\system</i></li>
<li>Named the loaded hive <b>Temp</b> (it can be named anything you want)</li>
</ul>
</li>
<li>In Notepad, created a .reg file (<em>SATA_Keys.reg</em> for example) to import the appropriate settings into the mounted hive (click on the picture to download <em>SATA_Keys.doc</em> that you&#8217;ll have to rename <em>SATA_Keys.reg</em>):</li>
</ol>
<div><a href="http://mypkb.files.wordpress.com/2008/01/sata_keys.doc" title="Actual .reg file"><img src="http://mypkb.files.wordpress.com/2008/01/registryfile.gif" alt="Registry File" /></a></div>
<p>How do you come up with this file? Well again, <a target="_blank" href="http://www.911cd.net/forums//index.php?showtopic=20246" title="FixIDE">this thread</a> helped a lot, as did that <a target="_blank" href="http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=100855" title="BSOD after booting syspreped image">one</a>.  Basically you have to open the .inf files (<em>iaahci.inf</em> and <em>iastor.inf</em>) and locate:</p>
<ul>
<li>
<div>the <em>ClassGUID</em> entry in the <em>[version]</em> section.</div>
</li>
<li>
<div>the <em>PCI\VEN</em> entries in the <em>[ControlFlags]</em> section</div>
</li>
<li>
<div>the <em>AddService</em> value in the <em>[iaStor_Inst.Services]</em> section in this case.</div>
</li>
</ul>
<p>If you look back at the .reg file, you&#8217;ll notice that the first 6 keys, derived from <em>iaahci.inf</em>, all have the same ClassGUID, only the PCI\VEN values change. The next 6, derived from the other .inf file (<em>iastor.inf</em>), share a different ClassGUID. Finally, both .inf files refer to the same service (<em>iaStor</em>) which has to be added. Note that in this example, the hexadecimal value of ImagePath means &#8220;system32\drivers\iaStor.sys&#8221;.</p>
<p>6.   Double-clicked the .reg file to merge the settings in the registry</p>
<p>7.   Unloaded the <strong>Temp</strong> hive (<strong>File&gt;Unload Hive</strong>)</p>
<p>8.   Unmounted the WIM image <u>without forgetting the /commit switch</u> (or all the changes would be lost):</p>
<p><code>imagex /unmount C:\Mount /commit</code></p>
<p>9.   Reimaged the laptop which booted just fine and installed the SATA drivers from within the OS to ensure proper installation.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mypkb.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mypkb.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mypkb.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mypkb.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mypkb.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mypkb.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mypkb.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mypkb.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mypkb.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mypkb.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mypkb.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mypkb.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mypkb.wordpress.com&blog=747388&post=25&subd=mypkb&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mypkb.wordpress.com/2008/01/07/how-to-add-sata-drivers-offline-to-a-wim-image-of-windows-xp/feed/</wfw:commentRss>
	
		<media:content url="http://mypkb.files.wordpress.com/2008/01/registryfile.gif" medium="image">
			<media:title type="html">Registry File</media:title>
		</media:content>
	</item>
		<item>
		<title>How to programmatically set the processor affinity of an application</title>
		<link>http://mypkb.wordpress.com/2007/09/16/how-to-programmatically-set-the-processor-affinity-of-an-application/</link>
		<comments>http://mypkb.wordpress.com/2007/09/16/how-to-programmatically-set-the-processor-affinity-of-an-application/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 05:34:08 +0000</pubDate>
		<dc:creator>mypkb</dc:creator>
		
		<category><![CDATA[CLI]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://mypkb.wordpress.com/2007/09/16/how-to-programmatically-set-the-processor-affinity-of-an-application/</guid>
		<description><![CDATA[One of the user I support runs an older CAD application that doesn&#8217;t work properly on computers using a dual core processor. It creates ghosting artifacts when he draws and eventually crashes the application. The trick  is  to limit the application&#8217;s process to only one processor (or one core). To do it manually:

Launch [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of the user I support runs an older CAD application that doesn&#8217;t work properly on computers using a dual core processor. It creates ghosting artifacts when he draws and eventually crashes the application. The trick  is  to limit the application&#8217;s process to only one processor (or one core). To do it manually:</p>
<ol>
<li>Launch the application</li>
<li>Locate the application&#8217;s process in the <strong>Task Manager</strong> (type taskmgr from the <strong>Run</strong> command or press Ctrl+Alt+Delete)</li>
<li>Right-click on the process and select <strong>Set Affinity</strong></li>
<li>Uncheck all the selected CPUs except one.</li>
</ol>
<p>It works well, but it needs to be done every time the application is launched.</p>
<p>To do it automatically, I downloaded a free command line utility from a company called Beyond Logic: <a href="http://www.beyondlogic.org/solutions/processutil/processutil.htm">process.exe</a>. To have a process named ExampleAppProcess.exe use only CPU 1, type:</p>
<p><code>process -a ExampleAppProcess.exe 01</code></p>
<p>So, I copied <strong>process.exe</strong> in a folder and added the path to this folder to the PATH environment variable. Then, I opened <strong>Notepad </strong>and typed:</p>
<p><code>cd c:\Program Files\ExampleAppFolder<br />
start ExampleApp.exe<br />
process -a ExampleAppProcess.exe 01</code></p>
<p>I saved this file as Affinity.cmd and added a shortcut to it on the Desktop. I changed the name and the icon of the shortcut to match the one used by the original application, and then deleted the original shortcut.</p>
<p>Now my user doesn&#8217;t have to do anything special: He double-clicks on what appears the be the same shortcut as before, but now his application works.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mypkb.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mypkb.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mypkb.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mypkb.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mypkb.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mypkb.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mypkb.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mypkb.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mypkb.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mypkb.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mypkb.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mypkb.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mypkb.wordpress.com&blog=747388&post=23&subd=mypkb&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mypkb.wordpress.com/2007/09/16/how-to-programmatically-set-the-processor-affinity-of-an-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to launch Outlook Express from the command line</title>
		<link>http://mypkb.wordpress.com/2007/07/08/how-to-launch-outlook-express-from-the-command-line/</link>
		<comments>http://mypkb.wordpress.com/2007/07/08/how-to-launch-outlook-express-from-the-command-line/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 23:26:52 +0000</pubDate>
		<dc:creator>mypkb</dc:creator>
		
		<category><![CDATA[CLI]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://mypkb.wordpress.com/2007/07/08/how-to-launch-outlook-express-from-the-command-line/</guid>
		<description><![CDATA[Even if you &#8220;uninstall&#8221; Outlook Express via Add/Remove Windows Components (type control appwiz.cpl,,2 at the command prompt), it is still very much installed. The icons and shortcuts pointing to it are gone but you can still easily launch Outlook Express by typing msimn at the command line.
More info here: OLEXP: Command Line Options for Outlook [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Even if you &#8220;uninstall&#8221; Outlook Express via <strong>Add/Remove Windows Components</strong> (type <code>control appwiz.cpl,,2</code> at the command prompt), it is still very much installed. The icons and shortcuts pointing to it are gone but you can still easily launch Outlook Express by typing <strong>msimn</strong> at the command line.</p>
<p>More info here: <a href="http://support.microsoft.com/kb/177233">OLEXP: Command Line Options for Outlook Express</a></p>
<p>Also, the site to go to for everything Outlook Express: <a href="http://insideoe.tomsterdam.com/">Inside Outlook Express</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mypkb.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mypkb.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mypkb.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mypkb.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mypkb.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mypkb.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mypkb.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mypkb.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mypkb.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mypkb.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mypkb.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mypkb.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mypkb.wordpress.com&blog=747388&post=22&subd=mypkb&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mypkb.wordpress.com/2007/07/08/how-to-launch-outlook-express-from-the-command-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to non-destructively convert dynamic disks to basic disks</title>
		<link>http://mypkb.wordpress.com/2007/03/28/how-to-non-destructively-convert-dynamic-disks-to-basic-disks/</link>
		<comments>http://mypkb.wordpress.com/2007/03/28/how-to-non-destructively-convert-dynamic-disks-to-basic-disks/#comments</comments>
		<pubDate>Wed, 28 Mar 2007 18:59:23 +0000</pubDate>
		<dc:creator>mypkb</dc:creator>
		
		<category><![CDATA[Data recovery]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://mypkb.wordpress.com/2007/03/28/how-to-non-destructively-convert-dynamic-disks-to-basic-disks/</guid>
		<description><![CDATA[The official method to convert dynamic disks back to basic disks is to back up the data, format the disks, and finally restore the data from backup. See Microsoft&#8217;s instructions on how to do that here.
Of course, nobody wants to do that, and sometimes it&#8217;s not even possible to implement this method. It assumes that [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The official method to convert dynamic disks back to basic disks is to back up the data, format the disks, and finally restore the data from backup. See Microsoft&#8217;s instructions on how to do that <a href="http://technet2.microsoft.com/WindowsServer/en/library/354e5163-f388-4354-984c-ea4e4206694c1033.mspx?mfr=true" title="Change a dynamic disk back to a basic disk">here</a>.</p>
<p>Of course, nobody wants to do that, and sometimes it&#8217;s not even possible to implement this method. It assumes that you can boot up the computer or at least access the drives and back up the data in the first place. So what are the other options?</p>
<p>Well, I unfortunately had to look for another solution last week when my computer refused to recognize any of my 4 dynamic hard drives. Here are the results of my search:</p>
<p>1. Use <a href="http://www.cgsecurity.org/wiki/TestDisk" title="TestDisk is a powerful free data recovery software">TestDisk</a>. If you want to know why and how, keep reading or jump to the conclusion section.</p>
<p>2. If you are lucky enough to be able to boot, follow <a href="http://support.microsoft.com/kb/913964" title="Microsoft's instruction on converting dynamic disks back to basic">Microsoft&#8217;s own instructions</a> to avoid the backup/format/restore method.<br />
<em><u>Note:</u></em> Ignore the title of this knowledge base article and go straight to the WORKAROUND section.</p>
<p>Detailed instructions with screen shots can be found on <a href="http://thelazyadmin.com/index.php?/archives/161-Converting-Dynamic-Disks-Back-to-Basic-Disks.html" title="Converting Dynamic Disks Back to Basic Disks">thelazyadmin.com</a> blog.</p>
<p>3. If your computer won&#8217;t boot, read on.</p>
<p>After installing the free VMWare server 1.0.2 and loading Vista Ultimate Edition as a virtual machine on my Windows XP Pro machine, my computer wouldn&#8217;t boot in any mode. <strong>Last Know Good Configuration</strong> didn&#8217;t change anything, and a repair install was not an option as neither Setup nor the recovery console were able to detect the Windows installation. Running the <strong>map</strong> command from the recovery console listed all my drives but they all had question marks instead of the expected drive letters. <strong>bootcfg /scan</strong> didn&#8217;t find anything. ERD Commander couldn&#8217;t help  either (no Windows installation detected). I wasn&#8217;t even able to mount the drives using a Linux live CD.</p>
<p>My next step was to buy an external enclosure for my SATA drives (<a href="http://www.vantecusa.com/p_nst260su_bk.html" title="Product page for the NexStar 3 enclosure">Vantec NexStar 3</a>, works great) to backup the data from a working computer. When dynamic disks are connected to a computer running XP or Vista, they show up as <strong>Foreign</strong> in the Disk Management console (diskmgmt.msc). All you have to do is right-click the drive and select <strong>Import Foreign Disk</strong>. Except this time it didn&#8217;t work, and instead I received 2 error messages back to back:</p>
<p>INTERNAL Error - The disk group contains no valid configurations copies (C10000B6)</p>
<p>followed by</p>
<p>Unspecified error (80004005)</p>
<p>Looking up these error messages didn&#8217;t lead to anything useful so I decided to give up on the dynamic disk to basic disk conversion topic and started to search for data recovery software. That&#8217;s how I found <a href="http://www.cgsecurity.org/wiki/TestDisk" title="Free data recovery software">TestDisk</a>.</p>
<p>I ran TestDisk on a XP Pro laptop, it detected my USB-connected &#8220;foreign&#8221; drive, found all my &#8220;partitions&#8221; (dynamic disk volumes), allowed me to backup my data to the laptop, and offered the option to <strong>write a new partition table based on what it had found</strong>. I did just that, securely removed the USB enclosure, plugged it back and voila! My laptop detected a new <strong>basic disk</strong>, with partitions instead of volumes, drive letters, and best of all, <strong>all my data intact</strong>.<br />
I was then able to reinstall the drive in my computer, repair Windows and from there run TestDisk on the three remaining drives so I can confirm that it works for external (USB) drives, IDE drives and SATA drives.</p>
<p><u><strong>Conclusion:</strong></u></p>
<p><a href="http://www.cgsecurity.org/wiki/TestDisk" title="TestDisk">TestDisk  6.6</a> will allow to backup your data and, if you let it rewrite the partition stucture, it will convert your dynamic disk to a basic disk without touching the data.</p>
<p>Run TestDisk:</p>
<p><img src="http://mypkb.files.wordpress.com/2007/03/screen1.PNG" alt="TestDisk" /></p>
<p>Select <strong>Create</strong> to log information.</p>
<p><img src="http://mypkb.files.wordpress.com/2007/03/screen2.PNG" alt="TestDisk" /></p>
<p>The program detects all the drives connected to your computer (internal, external, Flash drives).<br />
Highlight the one you want to work on, select <strong>Proceed</strong> and press <strong>Enter</strong>.</p>
<p><img src="http://mypkb.files.wordpress.com/2007/03/screen3.PNG" alt="TestDisk" /></p>
<p>Make the appropriate choice for your computer and press <strong>Enter</strong>.</p>
<p><img src="http://mypkb.files.wordpress.com/2007/03/screen4.PNG" alt="TestDisk" /></p>
<p>Select <strong>Analyse</strong> and press <strong>Enter</strong>.</p>
<p><img src="http://mypkb.files.wordpress.com/2007/03/screen5.PNG" alt="TestDisk" /></p>
<p>It displays the current structure. Select <strong>Backup</strong> first, then <strong>Proceed</strong>. Backing up first is a good idea if you later want to restore the drive&#8217;s partition structure.</p>
<p><img src="http://mypkb.files.wordpress.com/2007/03/screen6.PNG" alt="TestDisk" /></p>
<p>It might take a while to get to that screen if your drive is having problems, but eventually, it&#8217;ll display all the partitions it found. Select a partition and press <strong>P</strong> if you want to see the files stored on that particular partition, then press <strong>c</strong> to copy the files to <strike>the folder TestDisk is running from</strike> any available drive with enough free space. [Thanks to commenter Bob Janes for pointing out to me that it is indeed possible to backup your data anywhere you wish]<em><u></u></em></p>
<p>Press <strong>Enter</strong> to continue.</p>
<p><img src="http://mypkb.files.wordpress.com/2007/03/screen7.PNG" alt="TestDisk" /></p>
<p>This is where you can make the dynamic to basic drive conversion happen. Select <strong>Write</strong>, then press <strong>Y</strong> to confirm that you want to write the new partition structure to disk.<br />
Quit the program, reboot the drive you just modified and enjoy your new basic drive.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mypkb.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mypkb.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mypkb.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mypkb.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mypkb.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mypkb.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mypkb.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mypkb.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mypkb.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mypkb.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mypkb.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mypkb.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mypkb.wordpress.com&blog=747388&post=11&subd=mypkb&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mypkb.wordpress.com/2007/03/28/how-to-non-destructively-convert-dynamic-disks-to-basic-disks/feed/</wfw:commentRss>
	
		<media:content url="http://mypkb.files.wordpress.com/2007/03/screen1.PNG" medium="image">
			<media:title type="html">TestDisk</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2007/03/screen2.PNG" medium="image">
			<media:title type="html">TestDisk</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2007/03/screen3.PNG" medium="image">
			<media:title type="html">TestDisk</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2007/03/screen4.PNG" medium="image">
			<media:title type="html">TestDisk</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2007/03/screen5.PNG" medium="image">
			<media:title type="html">TestDisk</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2007/03/screen6.PNG" medium="image">
			<media:title type="html">TestDisk</media:title>
		</media:content>

		<media:content url="http://mypkb.files.wordpress.com/2007/03/screen7.PNG" medium="image">
			<media:title type="html">TestDisk</media:title>
		</media:content>
	</item>
		<item>
		<title>Shortcuts to open Control Panel applets</title>
		<link>http://mypkb.wordpress.com/2007/02/21/shortcuts-to-open-control-panel-applets/</link>
		<comments>http://mypkb.wordpress.com/2007/02/21/shortcuts-to-open-control-panel-applets/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 06:12:34 +0000</pubDate>
		<dc:creator>mypkb</dc:creator>
		
		<category><![CDATA[Keyboard shortcuts]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://mypkb.wordpress.com/2007/02/21/shortcuts-to-open-control-panel-applets/</guid>
		<description><![CDATA[To launch a Control Panel applet from the Run command, you just need to know its name:


Type
To launch


ncpa.cpl
Network Connections


appwiz.cpl
Add or Remove Programs


inetcpl.cpl
Internet Properties


sysdm.cpl
System Properties


control printers
Printers and Faxes


mmsys.cpl
Sound and Audio Devices Properties


The above list is not exhaustive. There are many more applets that can be launched in the same way; I listed the ones I use [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To launch a <strong>Control Panel</strong> applet from the <strong>Run</strong> command, you just need to know its name:</p>
<table cellpadding="5" cellspacing="5">
<tr>
<th>Type</th>
<th>To launch</th>
</tr>
<tr>
<td><code>ncpa.cpl</code></td>
<td><strong>Network Connections</strong></td>
</tr>
<tr>
<td><code>appwiz.cpl</code></td>
<td><strong>Add or Remove Programs</strong></td>
</tr>
<tr>
<td><code>inetcpl.cpl</code></td>
<td><strong>Internet Properties</strong></td>
</tr>
<tr>
<td><code>sysdm.cpl</code></td>
<td><strong>System Properties</strong></td>
</tr>
<tr>
<td><code>control printers</code></td>
<td><strong>Printers and Faxes</strong></td>
</tr>
<tr>
<td><code>mmsys.cpl</code></td>
<td><strong>Sound and Audio Devices Properties</strong></td>
</tr>
</table>
<p>The above list is not exhaustive. There are many more applets that can be launched in the same way; I listed the ones I use the most. The applets are <code>.cpl</code> files located in the <code>%windir%\system32</code> folder.</p>
<p>If <code>.cpl</code> files are not associated to the <strong>control.exe</strong> application, you&#8217;ll need to type <code>control name.cpl</code> to launch the applet.</p>
<p>It is possible to pass arguments when launching an applet in order to select a particular page and/or tab. For example, typing <code>control inetcpl.cpl,,4</code> will open the <strong>Internet Properties</strong> applet with the 5th tab already selected (the index is 0-based). Typing <code>control</code> is mandatory if you want to pass arguments.</p>
<p>For detailed info and a more complete list of available applets, check out these resources:<br />
<a href="http://www.geekgirls.com/windowsxp_controlpanel.htm" title="http://www.geekgirls.com"><br />
www.geekgirls.com</a><br />
<a href="http://vlaurie.com/computers2/Articles/control.htm">vlaurie.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mypkb.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mypkb.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mypkb.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mypkb.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mypkb.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mypkb.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mypkb.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mypkb.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mypkb.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mypkb.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mypkb.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mypkb.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mypkb.wordpress.com&blog=747388&post=10&subd=mypkb&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mypkb.wordpress.com/2007/02/21/shortcuts-to-open-control-panel-applets/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Keep Windows on time with the built-in Windows Time service</title>
		<link>http://mypkb.wordpress.com/2007/02/06/keep-windows-on-time-with-the-built-in-windows-time-service/</link>
		<comments>http://mypkb.wordpress.com/2007/02/06/keep-windows-on-time-with-the-built-in-windows-time-service/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 05:28:10 +0000</pubDate>
		<dc:creator>mypkb</dc:creator>
		
		<category><![CDATA[CLI]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://mypkb.wordpress.com/2007/02/06/keep-windows-on-time-with-the-built-in-windows-time-service/</guid>
		<description><![CDATA[I had to keep a W2K machine on time as its main job is to control clocks in different locations.  It turns out that Windows as a built-in SNTP client that can be set to retrieve the time from public SNTP servers.
The idea is to give Windows a list of time servers to check [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had to keep a W2K machine on time as its main job is to control clocks in different locations.  It turns out that Windows as a built-in SNTP client that can be set to retrieve the time from public SNTP servers.</p>
<p>The idea is to give Windows a list of time servers to check and then restart the Windows Time service for the change to take effect.</p>
<p>So, first you need <a href="http://support.microsoft.com/kb/262680">a list of available SNTP time servers</a>.</p>
<p>Then, you use the <code>net time</code> command to enter a list of time servers, e.g.:</p>
<p><code>C:\&gt;net time /setsntp:"ns.scruz.net ntp.ucsd.edu ntp1.mainecoon.com"</code></p>
<p>Finally, you restart the Windows Time service:</p>
<p><code>C:\&gt;net stop W32Time</code><br />
<code>C:\&gt;net stop W32Time</code></p>
<ul> Additional resources:</p>
<li>Syntax of the <code>net time</code> command <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_time.mspx?mfr=true">here</a>.</li>
<li>Windows Networking as an article entitled <a href="http://www.windowsnetworking.com/articles_tutorials/Configuring-Windows-Time-Service.html">Configuring Windows Time Service</a>.</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mypkb.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mypkb.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mypkb.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mypkb.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mypkb.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mypkb.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mypkb.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mypkb.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mypkb.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mypkb.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mypkb.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mypkb.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mypkb.wordpress.com&blog=747388&post=9&subd=mypkb&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mypkb.wordpress.com/2007/02/06/keep-windows-on-time-with-the-built-in-windows-time-service/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to deal with &#8220;CMD does not support UNC paths as current directories&#8220;</title>
		<link>http://mypkb.wordpress.com/2007/02/01/how-to-deal-with-cmd-does-not-support-unc-paths-as-current-directories/</link>
		<comments>http://mypkb.wordpress.com/2007/02/01/how-to-deal-with-cmd-does-not-support-unc-paths-as-current-directories/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 20:46:46 +0000</pubDate>
		<dc:creator>mypkb</dc:creator>
		
		<category><![CDATA[CLI]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://mypkb.wordpress.com/2007/02/01/how-to-deal-with-cmd-does-not-support-unc-paths-as-current-directories/</guid>
		<description><![CDATA[The solution is to use pushd instead of cd to change the current directory to a share accessed via a UNC path (e.g.: &#62;pushd \\myserver\myshare).
Use popd when done.
More info on the Microsoft Web site.
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The solution is to use <code>pushd</code> instead of <code>cd</code> to change the current directory to a share accessed via a UNC path (e.g.: <code>&gt;pushd \\myserver\myshare</code>).<br />
Use <code>popd</code> when done.</p>
<p>More info on the <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/pushd.mspx?mfr=true">Microsoft Web site</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mypkb.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mypkb.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mypkb.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mypkb.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mypkb.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mypkb.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mypkb.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mypkb.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mypkb.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mypkb.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mypkb.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mypkb.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mypkb.wordpress.com&blog=747388&post=5&subd=mypkb&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mypkb.wordpress.com/2007/02/01/how-to-deal-with-cmd-does-not-support-unc-paths-as-current-directories/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>