{"id":8634,"date":"2025-11-20T07:54:01","date_gmt":"2025-11-20T07:54:01","guid":{"rendered":"https:\/\/resizemyimg.com\/blog\/?p=8634"},"modified":"2025-11-20T07:57:29","modified_gmt":"2025-11-20T07:57:29","slug":"how-to-change-directory-in-cmd-windows-command-prompt","status":"publish","type":"post","link":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/","title":{"rendered":"How to Change Directory in CMD (Windows Command Prompt)"},"content":{"rendered":"<p>The Windows Command Prompt, also known as CMD, is a powerful tool that allows users to interact with the operating system through text-based commands. One of the most fundamental tasks when using the command line is navigating through the file system \u2014 in other words, changing directories. While it might seem intimidating at first, learning how to change directories in CMD can greatly boost productivity, especially when managing files, running scripts, or troubleshooting system issues.<\/p>\n<h3>TLDR Summary<\/h3>\n<p>To change directories in CMD, use the <i>cd<\/i> command followed by the folder name or path. You can move into subfolders, go back up the directory tree, or switch between drives. Commands like <i>dir<\/i> help confirm the contents of a directory before or after making the switch. Familiarity with paths and shortcuts enhances efficiency when navigating through directories in the terminal.<\/p>\n<h2>Understanding the <i>cd<\/i> Command<\/h2>\n<p>The core command used to change directories in the Windows Command Prompt is <b>cd<\/b>, which stands for &#8220;change directory.&#8221; This command allows users to enter a different location within their local filesystem.<\/p>\n<p>Basic syntax:<br \/>\n<br \/><b>cd [directory_path]<\/b>\n<\/p>\n<p>This can include a relative path (based on your current location) or an absolute path (from the root of the drive).<\/p>\n<h3>Example:<\/h3>\n<ul>\n<li><b>cd Documents<\/b> (moves into the &#8216;Documents&#8217; folder if it&#8217;s within your current directory)<\/li>\n<li><b>cd C:\\Users\\JohnDoe\\Downloads<\/b> (uses an absolute path to go directly to the Downloads folder)<\/li>\n<\/ul>\n<h2>Using Relative and Absolute Paths<\/h2>\n<p>It&#8217;s important to distinguish between <b>relative<\/b> and <b>absolute<\/b> paths when changing directories.<\/p>\n<h3>Relative Path:<\/h3>\n<p>A relative path starts from your current location in CMD.<\/p>\n<ul>\n<li><b>cd folderName<\/b>: Moves into a subfolder of your current directory.<\/li>\n<li><b>cd ..<\/b>: Moves one level up in the directory structure.<\/li>\n<li><b>cd .<\/b>: Refers to the current directory (often redundant but used for scripting purposes).<\/li>\n<\/ul>\n<h3>Absolute Path:<\/h3>\n<p>An absolute path starts from the drive letter and includes all nested folders needed to reach the destination.<\/p>\n<ul>\n<li><b>cd C:\\Users\\Jane\\Desktop<\/b><\/li>\n<\/ul>\n<img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"608\" src=\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-blue-background-with-a-white-square-in-the-middle-windows-command-prompt-change-directory-file-navigation.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-blue-background-with-a-white-square-in-the-middle-windows-command-prompt-change-directory-file-navigation.jpg 1080w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-blue-background-with-a-white-square-in-the-middle-windows-command-prompt-change-directory-file-navigation-300x169.jpg 300w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-blue-background-with-a-white-square-in-the-middle-windows-command-prompt-change-directory-file-navigation-1024x576.jpg 1024w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-blue-background-with-a-white-square-in-the-middle-windows-command-prompt-change-directory-file-navigation-575x324.jpg 575w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-blue-background-with-a-white-square-in-the-middle-windows-command-prompt-change-directory-file-navigation-768x432.jpg 768w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/>\n<h2>Switching Between Drives<\/h2>\n<p>If you are working on different drives (such as C: or D:), you must first switch drives before accessing folders on that drive. Simply typing the drive letter followed by a colon will switch the context.<\/p>\n<h3>Example:<\/h3>\n<ul>\n<li><b>D:<\/b> \u2192 This changes your current working drive from, say, C: to D:.<\/li>\n<li>Then you can issue <b>cd Projects<\/b> to access a folder on the D: drive.<\/li>\n<\/ul>\n<p><b>Note:<\/b> The <i>cd<\/i> command alone does not switch drives \u2014 you must also explicitly change the working drive.<\/p>\n<h2>Tips for Efficient Directory Navigation in CMD<\/h2>\n<p>Below are some useful tips to navigate directories more efficiently in CMD:<\/p>\n<ul>\n<li><b>Use Tab key:<\/b> Autocomplete folder names to avoid typing long filenames.<\/li>\n<li><b>Drag and drop:<\/b> You can drag a folder from File Explorer into CMD to copy its path.<\/li>\n<li><b>Use quotation marks:<\/b> Enclose paths in quotes if they contain spaces (e.g., <i>cd &#8220;Program Files&#8221;<\/i>).<\/li>\n<\/ul>\n<h3>Quick Navigation Shortcuts:<\/h3>\n<ul>\n<li><b>cd ..<\/b> : Go up one level.<\/li>\n<li><b>cd \\<\/b> : Go to the root of the current drive.<\/li>\n<li><b>cd %userprofile%<\/b> : Shortcut to your user profile directory.<\/li>\n<\/ul>\n<img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"720\" src=\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/the-corner-of-a-square-white-paper-on-a-gray-background-nerdtree-vim-plugin-plugin-sidebar-files-directory.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/the-corner-of-a-square-white-paper-on-a-gray-background-nerdtree-vim-plugin-plugin-sidebar-files-directory.jpg 1080w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/the-corner-of-a-square-white-paper-on-a-gray-background-nerdtree-vim-plugin-plugin-sidebar-files-directory-300x200.jpg 300w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/the-corner-of-a-square-white-paper-on-a-gray-background-nerdtree-vim-plugin-plugin-sidebar-files-directory-1024x683.jpg 1024w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/the-corner-of-a-square-white-paper-on-a-gray-background-nerdtree-vim-plugin-plugin-sidebar-files-directory-575x383.jpg 575w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/the-corner-of-a-square-white-paper-on-a-gray-background-nerdtree-vim-plugin-plugin-sidebar-files-directory-768x512.jpg 768w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/>\n<h2>Checking Your Current Directory<\/h2>\n<p>To verify where you are in the file system, simply type:<\/p>\n<pre><b>cd<\/b><\/pre>\n<p>This will print the full path of the current working directory to your CMD window.<\/p>\n<h2>Listing Folder Contents<\/h2>\n<p>Before you change into a directory, it\u2019s helpful to know what exists in the current location. You can use the <i>dir<\/i> command to list all files and folders:<\/p>\n<pre><b>dir<\/b><\/pre>\n<p>Once you know what&#8217;s available, you can target the correct folder using the <b>cd<\/b> command accordingly.<\/p>\n<h2>Creating and Entering a New Directory<\/h2>\n<p>If you need to create a new folder and then enter it, you can follow these steps:<\/p>\n<ul>\n<li><b>mkdir NewFolder<\/b>: Creates a new folder named &#8216;NewFolder&#8217;.<\/li>\n<li><b>cd NewFolder<\/b>: Enter the newly created folder.<\/li>\n<\/ul>\n<p>This is particularly helpful when setting up environments or batch operations.<\/p>\n<h2>When CD Doesn&#8217;t Work as Expected<\/h2>\n<p>There are instances where <b>cd<\/b> might not behave as expected. Common reasons include:<\/p>\n<ul>\n<li><b>Misspelled directory name.<\/b><\/li>\n<li><b>Attempting to access a folder without permissions.<\/b><\/li>\n<li><b>Forgetting to switch to the correct drive before using an absolute path.<\/b><\/li>\n<\/ul>\n<p>Always double-check your input or use <b>dir<\/b> to confirm the existence of the directory you\u2019re trying to access.<\/p>\n<h2>Using CD in Scripts and Automation<\/h2>\n<p>In batch files or scripts, <i>cd<\/i> is frequently used to set the working directory before running commands. When scripting:<\/p>\n<ul>\n<li>Use absolute paths for consistency.<\/li>\n<li>Check for folder existence using <b>if exist<\/b> conditions.<\/li>\n<li>Avoid relying on current directory context unless it\u2019s well-controlled.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>Learning how to change directories in CMD is a basic yet essential skill for navigating Windows through the command line. Whether you are a casual user or an aspiring developer, mastering directory navigation in CMD can save time and facilitate advanced operations like compiling code, running scripts, or maintaining a clean file system. With commands like <i>cd<\/i>, <i>dir<\/i>, and <i>mkdir<\/i>, you gain full control over your folders without ever touching the mouse.<\/p>\n<h2>Frequently Asked Questions (FAQ)<\/h2>\n<ul>\n<li>\n    <b>Q: What does the <i>cd<\/i> command do?<\/b><br \/>\n    <i>A:<\/i> The <i>cd<\/i> command, short for &#8220;change directory,&#8221; is used to navigate between folders in the Command Prompt.\n  <\/li>\n<li>\n    <b>Q: How do I go back to the previous directory?<\/b><br \/>\n    <i>A:<\/i> Use <b>cd ..<\/b> to move back one level in the directory tree.\n  <\/li>\n<li>\n    <b>Q: How do I change the drive in CMD?<\/b><br \/>\n    <i>A:<\/i> Simply type the drive letter followed by a colon (e.g., <b>D:<\/b>) and press Enter.\n  <\/li>\n<li>\n    <b>Q: Why can\u2019t I change into some folders?<\/b><br \/>\n    <i>A:<\/i> You may not have the necessary permissions, or the folder name might be misspelled or missing.\n  <\/li>\n<li>\n    <b>Q: What\u2019s the difference between relative and absolute paths?<\/b><br \/>\n    <i>A:<\/i> Relative paths are based on your current directory, while absolute paths start from the root of the drive and specify the full path to the destination folder.\n  <\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Windows Command Prompt, also known as CMD, is a powerful tool that allows users to interact with the operating system through text-based commands. One of the most fundamental tasks when using the command line is navigating through the file system \u2014 in other words, changing directories. While it might seem intimidating at first, learning how to change directories in CMD can greatly boost productivity, especially when managing files, running scripts, or troubleshooting system issues. <\/p>\n<p class=\"read-more-container\"><a href=\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/\" class=\"read-more button\">Read more<\/a><\/p>\n","protected":false},"author":91,"featured_media":8635,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","no-featured-image-padding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Change Directory in CMD (Windows Command Prompt)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change Directory in CMD (Windows Command Prompt)\" \/>\n<meta property=\"og:description\" content=\"The Windows Command Prompt, also known as CMD, is a powerful tool that allows users to interact with the operating system through text-based commands. One of the most fundamental tasks when using the command line is navigating through the file system \u2014 in other words, changing directories. While it might seem intimidating at first, learning how to change directories in CMD can greatly boost productivity, especially when managing files, running scripts, or troubleshooting system issues. Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/\" \/>\n<meta property=\"og:site_name\" content=\"Resize my Image Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webfactoryltd\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-20T07:54:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-20T07:57:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jame Miller\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webfactoryltd\" \/>\n<meta name=\"twitter:site\" content=\"@webfactoryltd\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jame Miller\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/\"},\"author\":{\"name\":\"Jame Miller\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/4bece8cd1b5bcd61a4e5dab002eb7dca\"},\"headline\":\"How to Change Directory in CMD (Windows Command Prompt)\",\"datePublished\":\"2025-11-20T07:54:01+00:00\",\"dateModified\":\"2025-11-20T07:57:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/\"},\"wordCount\":961,\"publisher\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg\",\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/\",\"url\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/\",\"name\":\"How to Change Directory in CMD (Windows Command Prompt)\",\"isPartOf\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg\",\"datePublished\":\"2025-11-20T07:54:01+00:00\",\"dateModified\":\"2025-11-20T07:57:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#primaryimage\",\"url\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg\",\"contentUrl\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg\",\"width\":1080,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/resizemyimg.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change Directory in CMD (Windows Command Prompt)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#website\",\"url\":\"https:\/\/resizemyimg.com\/blog\/\",\"name\":\"Resize my Image Blog\",\"description\":\"News, insights, tips&amp;tricks on image related business &amp; SaaS\",\"publisher\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/resizemyimg.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#organization\",\"name\":\"WebFactory Ltd\",\"url\":\"https:\/\/resizemyimg.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2019\/12\/webfactory_icon.png\",\"contentUrl\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2019\/12\/webfactory_icon.png\",\"width\":300,\"height\":300,\"caption\":\"WebFactory Ltd\"},\"image\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webfactoryltd\/\",\"https:\/\/x.com\/webfactoryltd\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/4bece8cd1b5bcd61a4e5dab002eb7dca\",\"name\":\"Jame Miller\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f60a3114f608fcfdd6b15a13f37f24b2?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f60a3114f608fcfdd6b15a13f37f24b2?s=96&d=monsterid&r=g\",\"caption\":\"Jame Miller\"},\"description\":\"I'm Jame Miller, a cybersecurity analyst and blogger. Sharing knowledge on online security, data protection, and privacy issues is what I do best.\",\"url\":\"https:\/\/resizemyimg.com\/blog\/author\/jamesm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change Directory in CMD (Windows Command Prompt)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/","og_locale":"en_US","og_type":"article","og_title":"How to Change Directory in CMD (Windows Command Prompt)","og_description":"The Windows Command Prompt, also known as CMD, is a powerful tool that allows users to interact with the operating system through text-based commands. One of the most fundamental tasks when using the command line is navigating through the file system \u2014 in other words, changing directories. While it might seem intimidating at first, learning how to change directories in CMD can greatly boost productivity, especially when managing files, running scripts, or troubleshooting system issues. Read more","og_url":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/","og_site_name":"Resize my Image Blog","article_publisher":"https:\/\/www.facebook.com\/webfactoryltd\/","article_published_time":"2025-11-20T07:54:01+00:00","article_modified_time":"2025-11-20T07:57:29+00:00","og_image":[{"width":1080,"height":720,"url":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg","type":"image\/jpeg"}],"author":"Jame Miller","twitter_card":"summary_large_image","twitter_creator":"@webfactoryltd","twitter_site":"@webfactoryltd","twitter_misc":{"Written by":"Jame Miller","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#article","isPartOf":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/"},"author":{"name":"Jame Miller","@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/4bece8cd1b5bcd61a4e5dab002eb7dca"},"headline":"How to Change Directory in CMD (Windows Command Prompt)","datePublished":"2025-11-20T07:54:01+00:00","dateModified":"2025-11-20T07:57:29+00:00","mainEntityOfPage":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/"},"wordCount":961,"publisher":{"@id":"https:\/\/resizemyimg.com\/blog\/#organization"},"image":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#primaryimage"},"thumbnailUrl":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg","articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/","url":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/","name":"How to Change Directory in CMD (Windows Command Prompt)","isPartOf":{"@id":"https:\/\/resizemyimg.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#primaryimage"},"image":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#primaryimage"},"thumbnailUrl":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg","datePublished":"2025-11-20T07:54:01+00:00","dateModified":"2025-11-20T07:57:29+00:00","breadcrumb":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#primaryimage","url":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg","contentUrl":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2025\/11\/a-computer-monitor-sitting-on-top-of-a-desk-windows-command-prompt-change-directory-file-navigation.jpg","width":1080,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/resizemyimg.com\/blog\/how-to-change-directory-in-cmd-windows-command-prompt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/resizemyimg.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Change Directory in CMD (Windows Command Prompt)"}]},{"@type":"WebSite","@id":"https:\/\/resizemyimg.com\/blog\/#website","url":"https:\/\/resizemyimg.com\/blog\/","name":"Resize my Image Blog","description":"News, insights, tips&amp;tricks on image related business &amp; SaaS","publisher":{"@id":"https:\/\/resizemyimg.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/resizemyimg.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/resizemyimg.com\/blog\/#organization","name":"WebFactory Ltd","url":"https:\/\/resizemyimg.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2019\/12\/webfactory_icon.png","contentUrl":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2019\/12\/webfactory_icon.png","width":300,"height":300,"caption":"WebFactory Ltd"},"image":{"@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webfactoryltd\/","https:\/\/x.com\/webfactoryltd"]},{"@type":"Person","@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/4bece8cd1b5bcd61a4e5dab002eb7dca","name":"Jame Miller","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f60a3114f608fcfdd6b15a13f37f24b2?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f60a3114f608fcfdd6b15a13f37f24b2?s=96&d=monsterid&r=g","caption":"Jame Miller"},"description":"I'm Jame Miller, a cybersecurity analyst and blogger. Sharing knowledge on online security, data protection, and privacy issues is what I do best.","url":"https:\/\/resizemyimg.com\/blog\/author\/jamesm\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/posts\/8634"}],"collection":[{"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/users\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/comments?post=8634"}],"version-history":[{"count":1,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/posts\/8634\/revisions"}],"predecessor-version":[{"id":8679,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/posts\/8634\/revisions\/8679"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/media\/8635"}],"wp:attachment":[{"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/media?parent=8634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/categories?post=8634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/tags?post=8634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}