cmd-commands.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="generator" content="pandoc" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
  7. <title>CMD Commands</title>
  8. <style>
  9. code{white-space: pre-wrap;}
  10. span.smallcaps{font-variant: small-caps;}
  11. span.underline{text-decoration: underline;}
  12. div.column{display: inline-block; vertical-align: top; width: 50%;}
  13. div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
  14. ul.task-list{list-style: none;}
  15. .display.math{display: block; text-align: center; margin: 0.5rem auto;}
  16. </style>
  17. <link rel="stylesheet" href="C:\SGZ_Pro\Hobbys\Writing\Org\pages\blog\styles.css" />
  18. <!--[if lt IE 9]>
  19. <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  20. <![endif]-->
  21. <link rel='stylesheet' type='text/css' href='styles.css' />
  22. </head>
  23. <body>
  24. <header id="title-block-header">
  25. <h1 class="title">CMD Commands</h1>
  26. </header>
  27. <h1 id="delete-a-file-del">Delete a file <code class="verbatim">del</code></h1>
  28. <pre class="cmd"><code># delete a file
  29. del filename
  30. # delete al files in a directory
  31. del *
  32. # delete all files with an extension
  33. del *.py
  34. # delete multiple files
  35. del 1.png 2.png 3.png 4.png
  36. </code></pre>
  37. <h1 id="rename-a-file-rename-or-ren">Rename a file <code class="verbatim">rename</code> or <code class="verbatim">ren</code></h1>
  38. <pre class="cmd"><code>rename old_name new_name
  39. </code></pre>
  40. <h1 id="licence">Licence</h1>
  41. <hr>
  42. <footer>
  43. <a rel='license' href='http://creativecommons.org/licenses/by-sa/4.0/'><img alt='Creative Commons License' style='border-width:0' width='88' height='31' src='../images/cc-by-sa.png' /></a><br>
  44. Unless otherwise noted, all content on this website is Copyright Zortazert 2021-2022 and is licensed under <a rel='license' href='http://creativecommons.org/licenses/by-sa/4.0/'>CC BY-SA 4.0</a>.
  45. </footer>
  46. </body>
  47. </html>