{"id":737,"date":"2021-10-27T10:30:48","date_gmt":"2021-10-27T10:30:48","guid":{"rendered":"https:\/\/ethosspace.com\/programmers\/?p=737"},"modified":"2021-10-27T11:02:40","modified_gmt":"2021-10-27T11:02:40","slug":"create-multiple-directories-using-command-prompt","status":"publish","type":"post","link":"https:\/\/ethosspace.com\/programmers\/create-multiple-directories-using-command-prompt\/","title":{"rendered":"How to Create multiple directories using command prompt"},"content":{"rendered":"\n<p>Using windows command prompt we can create multiple directories at once in easy steps as defined below.<\/p>\n\n\n\n<p>Step 1) Open Windows command prompt by typing &#8220;cmd&#8221; in type here to search and press enter. After Pressing enter windows will open command prompt.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"664\" src=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-11.png\" alt=\"\" class=\"wp-image-740\" srcset=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-11.png 733w, https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-11-300x272.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><figcaption>Type CMD to open command Prompt<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"510\" height=\"168\" src=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-12.png\" alt=\"\" class=\"wp-image-741\" srcset=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-12.png 510w, https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-12-300x99.png 300w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><figcaption>Windows Command Prompt<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Step 2)<\/strong> Change Directory where you need to create multiple directory. For example here we are creating multiple directories under &#8220;F:\\multipledirectory\\&#8221; folder so we need to navigate to that directory.<\/p>\n\n\n\n<p>So first command we are giving is f: and pressing enter key<\/p>\n\n\n\n<p>f:\\<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"129\" src=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-13.png\" alt=\"\" class=\"wp-image-742\" srcset=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-13.png 451w, https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-13-300x86.png 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/figure>\n\n\n\n<p>now second command we are giving is &#8221; cd  multipledirectory  &#8221; and pressing Enter key<\/p>\n\n\n\n<p>cd  multipledirectory <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"426\" height=\"189\" src=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-14.png\" alt=\"\" class=\"wp-image-743\" srcset=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-14.png 426w, https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-14-300x133.png 300w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/figure>\n\n\n\n<p>Now type &#8220;dir&#8221; and press enter to check if any existing subdirectories are available or not.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"344\" src=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-15.png\" alt=\"\" class=\"wp-image-744\" srcset=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-15.png 480w, https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-15-300x215.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/figure>\n\n\n\n<p>Now to create multiple directory in one command you need to use &#8220;md&#8221; command by providing directory names like below<\/p>\n\n\n\n<p><strong>md one two three four<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"526\" height=\"512\" src=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-16.png\" alt=\"\" class=\"wp-image-745\" srcset=\"https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-16.png 526w, https:\/\/ethosspace.com\/programmers\/wp-content\/uploads\/2021\/10\/image-16-300x292.png 300w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><figcaption>multiple directories using command prompt<\/figcaption><\/figure>\n\n\n\n<p>So if you observe here using command prompt we have created multiple directories only by using single command &#8220;md&#8221;<\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using windows command prompt we can create multiple directories at once in easy steps as defined below. Step 1) Open Windows command prompt by typing &#8220;cmd&#8221; in type here to search and press enter. After Pressing enter windows will open command prompt. Step 2) Change Directory where you need to create multiple directory. For example [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[17],"tags":[],"class_list":["post-737","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"aioseo_notices":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"sparkling-featured":false,"sparkling-featured-fullwidth":false,"tab-small":false},"uagb_author_info":{"display_name":"program45_-rt8nb","author_link":"https:\/\/ethosspace.com\/programmers\/author\/program45_-rt8nb\/"},"uagb_comment_info":0,"uagb_excerpt":"Using windows command prompt we can create multiple directories at once in easy steps as defined below. Step 1) Open Windows command prompt by typing &#8220;cmd&#8221; in type here to search and press enter. After Pressing enter windows will open command prompt. Step 2) Change Directory where you need to create multiple directory. For example&hellip;","_links":{"self":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/comments?post=737"}],"version-history":[{"count":4,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/737\/revisions"}],"predecessor-version":[{"id":748,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/737\/revisions\/748"}],"wp:attachment":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/media?parent=737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/categories?post=737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/tags?post=737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}