[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572303-105":53,"doc-detail-572303-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","windows-command-prompt-cheatsheet","Windows Command Prompt Cheatsheet","","Windows Command Prompt Cheatsheet compiles essential command-line operations for navigating the filesystem and managing files and folders. It explains core concepts like filepaths and drive locations, then provides a concise command table covering listing directories, changing directories, creating and deleting folders, copying and moving files, renaming, removing files, and exiting scripts. Additional entries cover echo, displaying file contents, comparing files, clearing the screen, and accessing help for further command usage details.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":51,"@type":70,"position":76},"https://docshare.wps.com/template/general/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/windows-command-prompt-cheatsheet/572303/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/windows-command-prompt-cheatsheet/572303.png","ImageObject",442,249,{"name":88,"@type":89},"miaandmiso","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What is a filepath in Windows Command Prompt?","Question",{"text":109,"@type":110},"A filepath indicates where you are in the filesystem, including the drive and folder path (e.g., C:\\user\\Documents).","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How do I list files in the current folder?",{"text":114,"@type":110},"Use dir to display a list of files and subfolders in the current directory. You can also run dir myfolder to target a specific folder.",{"name":116,"@type":107,"acceptedAnswer":117},"How do I delete a folder in Command Prompt?",{"text":118,"@type":110},"Use rmdir folder-name. If the folder isn’t empty, add the /s option (e.g., rmdir /s folder-name) to delete recursively.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},572303,1792087499,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":9,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":4},7971478544854,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Windows Command Prompt Cheatsheet  \n- Command line interface (as opposed to a GUI -graphical user interface)  \n- Used to execute programs  \n- Commands are small programs that do something useful  \n- There are many commands already included with Windows, but we will use a few.  \n- A ﬁlepath is where you are in the ﬁlesystem  \n• C: is the C drive  \n• C:\\user\\Documents is the Documents folder  \n• C:\\user\\Documents\\hello .c is a ﬁle in the Documents folder  \n\n| Command | What it Does | Usage |\n| --- | --- | --- |\n| dir | Displays a list of a folder’s ﬁles and subfolders | dir (shows current folder)\u003Cbr>dir myfolder |\n| cd chdir | Displays the name of the current directory or changes the current folder. | cd ﬁlepath\u003Cbr>chdir ﬁlepath\u003Cbr>cd .. (goes one directory up) |\n| md mkdir | Creates a folder (directory) | md folder-name\u003Cbr>mkdir folder-name |\n| rm rmdir | Deletes a folder (directory) | rm folder-name rmdir folder-name rm /s folder-name rmdir /s folder-name\u003Cbr>Note: if the folder isn’t empty, you must add the /s. |\n| copy | Copies a ﬁle from one location to another | copy ﬁlepath-from ﬁlepath-to |\n| move | Moves ﬁle from one folder to another | move folder1\\ﬁle. txt folder2\\ |\n| ren\u003Cbr>rename | Changes the name of a ﬁle | ren ﬁle1 ﬁle2 |\n| del | Deletes one or more ﬁles | del ﬁlename |\n| exit | Exits batch script or current command control | exit |\n| echo | Used to display a message or to turn off/on messages in batch scripts | echo message |\n| type | Displays contents of a text ﬁle | type myﬁle.txt |\n| fc | Compares two ﬁles and displays the difference between them | fc ﬁle1 ﬁle2 |\n| cls | Clears the screen | cls |\n| help | Provides more details about DOS/Command Prompt commands | help (lists all commands)\u003Cbr>help command |\n\nSource: [https://technet.microsoft.com/en-us/library/cc754340.aspx](https://technet.microsoft.com/en-us/library/cc754340.aspx)","cbCaisLbGt0ygyb1","https://ap.wps.com/l/cbCaisLbGt0ygyb1","pdf",51362,"English","# Commands Overview\n## Navigation and Paths\n## Directory Management\n## File Operations\n## Screen and Help","[{\"question\":\"What is a filepath in Windows Command Prompt?\",\"answer\":\"A filepath indicates where you are in the filesystem, including the drive and folder path (e.g., C:\\\\user\\\\Documents).\"},{\"question\":\"How do I list files in the current folder?\",\"answer\":\"Use dir to display a list of files and subfolders in the current directory. You can also run dir myfolder to target a specific folder.\"},{\"question\":\"How do I delete a folder in Command Prompt?\",\"answer\":\"Use rmdir folder-name. If the folder isn’t empty, add the /s option (e.g., rmdir /s folder-name) to delete recursively.\"}]","Windows Command Prompt Cheatsheet | PDF",1791926649]