{"id":475,"date":"2008-06-11T15:56:51","date_gmt":"2008-06-11T20:56:51","guid":{"rendered":"http:\/\/www.juixe.com\/techknow\/index.php\/2008\/06\/11\/map-letter-drives\/"},"modified":"2008-06-11T15:56:51","modified_gmt":"2008-06-11T20:56:51","slug":"map-letter-drives","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2008\/06\/11\/map-letter-drives\/","title":{"rendered":"Map Letter Drives"},"content":{"rendered":"<p>In Windows you can map a network or local disk directory to a letter drive.  I have found that I needed to do this recently because Windows doesn&#8217;t handle well directory names with spaces in them, even though the recommended folder for applications is C:\\Program Files!  When writing scripts that reference a directory path with a space you need to either escape the black space, quote the path, or map a letter drive to the application path.<\/p>\n<p>To map or mount a letter drive to a network resources you can use the following command.<\/p>\n<pre>\nnet use z: \\\\\\\\MY-SERVER\\\\PATH\\\\TO\\\\MAP\n<\/pre>\n<p>When the resource to map in your local disk drive you can use the following command.<\/p>\n<pre>\nsubst z: c:\\\\PATH\\\\TO\\\\MAP\n<\/pre>\n<p>Technorati Tags: <a href=\"http:\/\/technorati.com\/tag\/windows\" rel=\"tag\">windows<\/a>, <a href=\"http:\/\/technorati.com\/tag\/tips\" rel=\"tag\"> tips<\/a>, <a href=\"http:\/\/technorati.com\/tag\/tools\" rel=\"tag\"> tools<\/a>, <a href=\"http:\/\/technorati.com\/tag\/cmd\" rel=\"tag\"> cmd<\/a>, <a href=\"http:\/\/technorati.com\/tag\/batch\" rel=\"tag\"> batch<\/a>, <a href=\"http:\/\/technorati.com\/tag\/script\" rel=\"tag\"> script<\/a>, <a href=\"http:\/\/technorati.com\/tag\/drive\" rel=\"tag\"> drive<\/a>, <a href=\"http:\/\/technorati.com\/tag\/mount\" rel=\"tag\"> mount<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Windows you can map a network or local disk directory to a letter drive. I have found that I needed to do this recently because Windows doesn&#8217;t handle well directory names with spaces in them, even though the recommended folder for applications is C:\\Program Files! When writing scripts that reference a directory path with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[3,4],"tags":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p902K-7F","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/475"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=475"}],"version-history":[{"count":0,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/475\/revisions"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=475"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}