<?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>dos | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/dos/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:21:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>dos | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>How to make an old school SUBST virtual drive persistent</title>
		<link>https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-make-an-old-school-subst-virtual-drive-persistent</link>
					<comments>https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Mon, 19 Apr 2010 06:36:22 +0000</pubDate>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[subst]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/2010/04/18/how-to-make-an-old-school-subst-virtual-drive-persistent/</guid>

					<description><![CDATA[<p>If you have touched DOS before, you might still remember what this old school command subst is all about. It&#8217;s a command used for substituting local paths on physical and logical drives, known as virtual drives. For example, if you want to have a logical drive P: mapped to a local folder on your computer, say c:\temp, you can simply [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/">How to make an old school SUBST virtual drive persistent</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>If you have touched DOS before, you might still remember what this old school command subst is all about. It&#8217;s a command used for substituting local paths on physical and logical drives, known as virtual drives. For example, if you want to have a logical drive P: mapped to a local folder on your computer, say c:\temp, you can simply use the following command to make it.</p>
<blockquote><p>subst p: c:\temp</p></blockquote>
<p>It&#8217;s very useful when you test out the application that uses a network mapped drive so you can have a complete test environment right on your local machine.</p>
<p>However, any subst&#8217;d virtual drivers are not persistent. You have to Subst them again once the computer is rebooted. Making a batch file that includes subst commands in it and placing it in startup folder doesn&#8217;t seem to be working for something.</p>
<p>If you want to make them like a permanent driver that doesn&#8217;t disappear, you can either</p>
<p>Create a new registry entry â€œstring valueâ€ in the following key:</p>
<blockquote><p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices</p></blockquote>
<p>The name of the entry should be â€œX:â€ where X is the drive letter you want to make.</p>
<p>And the value of the entry should be the local path in the form of: \??\c:\path. Make sure reboot once to make the change take effect.</p>
<p>Or, if you are not comfortable with playing around the registry keys, you can also use a tool called <a href="http://code.google.com/p/psubst/" target="_blank" rel="noopener">psubst</a> with an option /p as well.</p>The post <a href="https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/">How to make an old school SUBST virtual drive persistent</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1141</post-id>	</item>
	</channel>
</rss>
