CINXE.COM
SS64 Command line reference
<!doctype html><html lang="en"> <head><meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' cmp.inmobi.com; connect-src 'self' cmp.inmobi.com api.cmp.inmobi.com; img-src 'self' data:; style-src 'self' 'unsafe-inline';base-uri 'self';form-action 'self' www.google.com"> <link rel="stylesheet" href="main.css" type="text/css"> <link rel="icon" href="/favicon.ico" sizes="48x48"> <link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml"> <title>SS64 Command line reference</title> <link rel="canonical" href="https://ss64.com/"> <meta name="Author" CONTENT="Simon Sheppard"> <meta name="Description" CONTENT="Command line reference for Windows CMD, PowerShell, MacOS and Linux bash. Also includes SQL Server database commands."> <meta property="og:image" content="https://ss64.com/apple-touch-icon.png"> <link rel="search" href="https://ss64.com/opensearch.xml" type="application/opensearchdescription+xml" title="SS64.com"> <style> #strapline {color: var(--txt-dark); } #qu {left: 1px;} .tnav { height: 42px; min-width: 280px; } .tnav > ul {list-style: none; margin: 0; padding: 0;} .tnav > ul > li { display: inline-block; float: left; line-height: 40px; margin: 0 0.15em 15px; outline: none; align-content: center; text-align: center; width: 140px; } .tnav a {border-bottom: none;} /* hide anchor uline */ #searchnav{ min-width: 560px; } #logo{ font-family: Helvetica,Arial,sans-serif; font-size: 1.1em; margin:0} li { display: inline-block; list-style: none; } .footer {color: #333; font-family: "Helvetica Neue", "Segoe UI Variable Static Text", Helvetica, Arial, sans-serif; font-size: 75%; display: inline-block} #search { margin-left:0px; } #first {margin-bottom: -4px;} /* Minimal on mobile */ @media (max-width: 560px) {#qu {width: 145px;}} @media (max-width: 450px) {#qu {width: 100px;}#btn {width: 60px;} } @media (max-width: 415px) {#btn {width: 20px; color: transparent;}#btn:hover {color: transparent;}} </style> <script src="/js/b.js"></script> <script async src="/js/q.js"></script> <script async src="/js/menu.js"></script> </head> <body> <div id="searchnav" class="tnav"> <ul> <li id="logo">( SS64 )</li> <li><div id="search"><form action="https://www.google.com/search" method="get" > <input type="text" name="q" id="qu" size="27" autofocus maxlength="255" placeholder="Search SS64" aria-label="Search text"> <input class="submit mousetrap" value="Search" id="btn" type="submit"> <input type="hidden" name="sitesearch" value="ss64.com"><input type="hidden" name="udm" value="14"></form></div></li> </ul> </div> <p id="strapline">Command line reference.</p> <div class="tnav" id="first"> <ul> <li class="tbtn"><a href="/bash/">Linux</a></li> <li class="tbtn"><a href="/mac/">macOS</a></li> <li class="tbtn"><a href="/nt/">CMD</a></li> <li class="tbtn"><a href="/ps/">PowerShell</a></li> </ul> </div><br> <div class="tnav"> <ul> <li class="tbtn"><a href="ascii.html">ASCII</a></li> <li class="tbtn"><a href="convert.html">≡ Convert</a></li> <li class="tbtn"><a href="https://ss64.org/">Forum</a></li> <li class="tbtn"><a href="/pass/">Passwords</a></li> </ul> </div><br> <p class="footer"><a href="docs/">About/contact</a> - Last update: Apr 3<sup>rd</sup><br> Copyright © 1999-2025 SS64.com, <a href="docs/copyright.html">some rights reserved.</a></p> </body> </html>