


To get started, open the Windows command prompt by clicking on the Start button, typing cmd.exe, and hitting Enter. Let’s first cover how to use the Windows command prompt to create a blank file. You have two command-line options in Windows the command prompt ( cmd.exe) or PowerShell. PowerShell 3.0+ – All demos in this tutorial will use PowerShell v7.1.3.Ĭreating a File with the Windows Command Prompt.A Windows PC – All demos in this tutorial will use Windows 10, but Windows 7+ will work also.If you’d like to follow along with the steps in this tutorial, be sure you have the following ahead of time: Using the Set-Content and Add-Content Cmdlets.Creating a File with the Windows Command Prompt.
