{"id":197,"date":"2010-04-30T12:05:36","date_gmt":"2010-04-30T20:05:36","guid":{"rendered":"http:\/\/hongyu.org\/wordpress\/?p=197"},"modified":"2010-07-26T15:49:10","modified_gmt":"2010-07-26T23:49:10","slug":"interesting-dos-commands","status":"publish","type":"post","link":"https:\/\/www.hongyu.org\/wordpress\/?p=197","title":{"rendered":"Interesting DOS commands"},"content":{"rendered":"<p><strong>subst and psubst<\/strong><br \/>\nA utility to map a subdirectory to a drive letter.<br \/>\n<b>subst<\/b> <d :>\n<path>\nsubst <d :> \/D   (Deletes the substitute drive)<br \/>\nIf SUBST e: c:\\edrive were executed, a new drive letter e: would be created, showing the contents of c:\\edrive. The opposite can be achieved via the join command.<\/d><\/path><\/d><\/p>\n<p>Another related command is <b>psubst<\/b>, which is supposedly able to generate permanent map. And <b><a href=\"http:\/\/download.cnet.com\/Visual-Subst\/3000-2248_4-10598834.html\">visualsubst<\/a><\/b> is a convenient GUI program.<\/p>\n<p>See <a href=\"http:\/\/en.wikipedia.org\/wiki\/List_of_DOS_commands\">the rest<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>subst and psubst A utility to map a subdirectory to a drive letter. subst subst \/D (Deletes the substitute drive) If SUBST e: c:\\edrive were executed, a new drive letter e: would be created, showing the contents of c:\\edrive. The opposite can be achieved via the join command. Another related command is psubst, which is &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.hongyu.org\/wordpress\/?p=197\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Interesting DOS commands&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/197"}],"collection":[{"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=197"}],"version-history":[{"count":10,"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":230,"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions\/230"}],"wp:attachment":[{"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongyu.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}