{"id":24105,"date":"2023-04-05T09:38:15","date_gmt":"2023-04-05T07:38:15","guid":{"rendered":"https:\/\/expert-only.com\/?page_id=24105"},"modified":"2023-04-05T10:03:29","modified_gmt":"2023-04-05T08:03:29","slug":"ms-dos-tutorials","status":"publish","type":"page","link":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/","title":{"rendered":"MS-DOS Tutorials"},"content":{"rendered":"\n<p>MS-DOS tutorials with commands to manage files, folders, paths and other configurations in Windows. In addition, the commands are useful, especially in reusable scripts, called batches, and easy to adapt. Common MS-DOS commands are cd, dir, mkdir, del or ipconfig for example.<\/p>\n\n\n\n<p>Scripting is a powerful tool that can be used to automate tasks and make them more efficient. It is a way of automating tasks by using a set of commands or instructions to get the desired result.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tutorials-on-how-to-use-ms-dos-commands\">Tutorials on how to use MS DOS commands<\/h2>\n\n\n\n<p>The MS-DOS Windows command is one of the most popular scripting languages used for automation purposes. It has been around for decades and is still used today because it provides an easy way to automate tasks on Windows operating systems.<\/p>\n\n\n\n<p>In this section we will learn how to use the Windows MS-DOS command to copy files and automate tasks.&nbsp;Scripting is a powerful tool that can be used for automation, or simply as a way to perform tasks quickly on your computer. Here you will learn how to use the Windows command line to manage files and folders such as copying, deleting or recursively listing items in the file system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">MS-DOS script example<\/h3>\n\n\n\n<p>For example, this screenshot shows an MS-DOS script that export the list of the current folder into a text file. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"512\" src=\"https:\/\/expert-only.com\/wp-content\/uploads\/2023\/04\/dos-command-line_dir-redirect-result-details.png\" alt=\"MS-DOS script that export the list of the current folder into a text file\" class=\"wp-image-24109\" srcset=\"https:\/\/expert-only.com\/wp-content\/uploads\/2023\/04\/dos-command-line_dir-redirect-result-details.png 980w, https:\/\/expert-only.com\/wp-content\/uploads\/2023\/04\/dos-command-line_dir-redirect-result-details-300x157.png 300w, https:\/\/expert-only.com\/wp-content\/uploads\/2023\/04\/dos-command-line_dir-redirect-result-details-768x401.png 768w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-copy-and-xcopy-ms-dos-commands\">Copy and xcopy MS-DOS commands<\/h2>\n\n\n\n<p>Firstly, use for example the Windows MS-DOS copy command to copy files and folders. Also use the xcopy command to make recursive copies in bulk.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/copy-windows-files-with-cmd\/\">Copy a file to another folder using the command prompt<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/copy-files-recursively-with-cmd\/\">Copy recursively files and folders with cmd<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-list-files-and-folders-with-ms-dos\">List files and folders with MS-DOS<\/h2>\n\n\n\n<p>Secondly, use DOS commands to list files and directories.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/list-files-in-folder-with-cmd\/\">List all files with in a Windows folder<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/list-files-recursively-with-cmd\/\">List recursively files, folders and subfolders<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/create-text-list-of-files-with-cmd\/\">Create a text list of all the files in a folder<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-scripts-to-rename-files-and-folders\">Scripts to rename files and folders<\/h2>\n\n\n\n<p>Tutorials to manage files using the Windows command prompt, like&nbsp; renaming objects.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\">Rename multiple Windows files at the same time<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-manage-navigation-in-directories-with-cd\">Manage navigation in directories with cd<\/h2>\n\n\n\n<p>Section about how to navigate with the commands for changing the current folder.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/expert-only.net\/windows\/ms-dos-commands\/display-the-current-directory-path-in-cmd\/\">Display the current directory path<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/change-current-directory-with-cmd\/\">Change current directory and drive<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tutorials-to-delete-files-and-folders-using-cmd\">Tutorials to delete files and folders using cmd<\/h2>\n\n\n\n<p>Finally, delete folders and files quickly and also manage the command prompt screen.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/delete-windows-file-using-cmd\/\">Delete a file with the command prompt<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/delete-files-recursively-with-cmd\/\">Delete Windows files recursively<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/clear-the-command-line-screen-prompt\/\">Clear the Windows command prompt screen<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-other-ms-dos-tutorials\">Other MS-DOS tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/find-my-ip-address-with-cmd\/\">Find my IP address with cmd<\/a><\/li>\n<\/ul>\n\n\n\n<p>These tutorials on Microsoft scripting explain how to use it and are illustrated by numerous script examples.<\/p>\n\n\n\n<p>If you have been through all the MS-DOS tutorials, then you might have win a lot of time. At least that&#8217;s what makes me use cmd almost on daily basis when it comes to the management or listing of large volume of Windows files. You might also be interested in learning <a href=\"https:\/\/expert-only.com\/en\/ps\/\">PowerShell scripting<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>MS-DOS tutorials with commands to manage files, folders, paths and other configurations in Windows. In addition, the commands are useful, especially in reusable scripts, called batches, and easy to adapt. Common MS-DOS commands are cd, dir, mkdir, del or <a class=\"mh-excerpt-more\" href=\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/\" title=\"MS-DOS Tutorials\">&#8230;<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":10872,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-24105","page","type-page","status-publish","has-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.7 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MS-DOS Tutorials - SQL and IT Tutorials<\/title>\n<meta name=\"description\" content=\"Discover essential MS-DOS commands for managing files, folders, and automating tasks in Windows with practical step by step tutorials.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MS-DOS Tutorials\" \/>\n<meta property=\"og:description\" content=\"Discover essential MS-DOS commands for managing files, folders, and automating tasks in Windows with practical step by step tutorials.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL and IT Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-05T08:03:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@expert_only\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/\",\"url\":\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/\",\"name\":\"MS-DOS Tutorials - SQL and IT Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\",\"datePublished\":\"2023-04-05T07:38:15+00:00\",\"dateModified\":\"2023-04-05T08:03:29+00:00\",\"description\":\"Discover essential MS-DOS commands for managing files, folders, and automating tasks in Windows with practical step by step tutorials.\",\"breadcrumb\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#primaryimage\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"en\",\"item\":\"https:\/\/expert-only.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MS-DOS Tutorials\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/expert-only.com\/en\/#website\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"name\":\"SQL and IT Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/expert-only.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/expert-only.com\/en\/#organization\",\"name\":\"Expert-Only\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"width\":381,\"height\":174,\"caption\":\"Expert-Only\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\",\"https:\/\/x.com\/expert_only\",\"https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"MS-DOS Tutorials - SQL and IT Tutorials","description":"Discover essential MS-DOS commands for managing files, folders, and automating tasks in Windows with practical step by step tutorials.","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:\/\/expert-only.com\/en\/ms-dos-tutorials\/","og_locale":"en_US","og_type":"article","og_title":"MS-DOS Tutorials","og_description":"Discover essential MS-DOS commands for managing files, folders, and automating tasks in Windows with practical step by step tutorials.","og_url":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/","og_site_name":"SQL and IT Tutorials","article_publisher":"https:\/\/www.facebook.com\/ExpertOnlyCom\/","article_modified_time":"2023-04-05T08:03:29+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@expert_only","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/","url":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/","name":"MS-DOS Tutorials - SQL and IT Tutorials","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#primaryimage"},"image":{"@id":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","datePublished":"2023-04-05T07:38:15+00:00","dateModified":"2023-04-05T08:03:29+00:00","description":"Discover essential MS-DOS commands for managing files, folders, and automating tasks in Windows with practical step by step tutorials.","breadcrumb":{"@id":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/expert-only.com\/en\/ms-dos-tutorials\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#primaryimage","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/texture-design-273B124DF7D_1920x1080.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/expert-only.com\/en\/ms-dos-tutorials\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"en","item":"https:\/\/expert-only.com\/en\/"},{"@type":"ListItem","position":2,"name":"MS-DOS Tutorials"}]},{"@type":"WebSite","@id":"https:\/\/expert-only.com\/en\/#website","url":"https:\/\/expert-only.com\/en\/","name":"SQL and IT Tutorials","description":"","publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/expert-only.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/expert-only.com\/en\/#organization","name":"Expert-Only","url":"https:\/\/expert-only.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","width":381,"height":174,"caption":"Expert-Only"},"image":{"@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ExpertOnlyCom\/","https:\/\/x.com\/expert_only","https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA"]}]}},"_links":{"self":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/pages\/24105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/comments?post=24105"}],"version-history":[{"count":0,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/pages\/24105\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media\/10872"}],"wp:attachment":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media?parent=24105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}