Recommended Free Tools
Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Microsoft Edit is a lightweight, open-source text editor that runs inside Command Prompt, PowerShell, or Windows Terminal. Launch it with edit, open a file with edit filename.txt, or install it with WinGet if Windows cannot find the command.
The modern Microsoft Edit is inspired by the old MS-DOS Editor, but it is a new application—not the original 16-bit DOS program. Its main purpose is quick editing of plain-text and configuration files without opening a full graphical editor.
What is Microsoft Edit?
Microsoft Edit is a terminal user-interface text editor for modern Windows. It is designed for lightweight tasks such as editing scripts, configuration files, notes, and other plain-text documents from a command-line session.
Microsoft describes it as a modern editor inspired by MS-DOS Editor and built in Rust. The project is open source and available through Microsoft’s GitHub repository. It is intentionally smaller in scope than an integrated development environment such as Visual Studio Code.
#1 Best Overall
Unlike traditional modal editors, Microsoft Edit uses a modeless interface. You can type, select text, search, and navigate without first switching between separate command modes.
Is Microsoft Edit included with Windows?
The modern Microsoft Edit is associated with Windows 11. Microsoft says it is included beginning with the September 2025 optional update and the Windows 11 2025 Update, version 25H2, or later supported releases.
Availability can vary by Windows image, update status, and installation policy, so check directly rather than assuming it is installed. Open Command Prompt, PowerShell, or Windows Terminal and run:
edit
If the editor opens, it is available. If Windows reports that edit is not recognized, install it with WinGet or use the project’s installation instructions.
How to open Microsoft Edit
Run these commands from Command Prompt, PowerShell, or Windows Terminal:
Open the editor without a file
edit
This opens Microsoft Edit in the current terminal. You can then create or open a document from the editor interface.
Open an existing file
edit notes.txt
A relative filename is resolved from the terminal’s current directory. For example, edit config.ini opens config.ini in the current folder if it exists.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Open a file using its full path
edit "C:Tempsettings.ini"
Put paths in quotation marks when they contain spaces:
edit "C:UsersNameDocumentsProject Notes.txt"
Create a new file
Provide a filename that does not exist:
edit todo.txt
Microsoft Edit can create the file when you save it. Use a writable location, especially when creating files from a standard, non-administrator account.
How to install Microsoft Edit when edit is not recognized
On a supported Windows system with WinGet available, run:
winget install Microsoft.Edit
WinGet must be installed and permitted to access its configured package sources. Company policies, restricted networks, an outdated Windows installation, or a missing package manager can prevent the command from working.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →If WinGet is unavailable, consult the official Microsoft Edit repository for release and installation options. Distinguish between the version bundled with Windows, the version installed through WinGet, and the latest project release; they may not always be identical.
Rank #3
Microsoft Edit shortcuts and features
Microsoft’s current documentation lists these controls and features. Exact behavior can evolve as the open-source project develops.
- Find: Press
Ctrl+F, or use the Edit menu. - Search options: Find and replace supports options including Match Case, Whole Word, and Regular Expression.
- Multiple files: Microsoft documents
Ctrl+Pfor opening or switching among files. - Word Wrap: Press
Alt+Z, or use View > Word Wrap. - Mouse support: Mouse navigation, selection, and scrolling are supported.
- Modeless editing: Typing and navigation do not require Vim-style mode changes.
The editor works inside a terminal rather than opening as a conventional desktop window. Windows Terminal is a convenient host, but it is not the editor itself and is not the only possible host.
Microsoft Edit versus the old MS-DOS Editor
Microsoft Edit is related to the old DOS editor in spirit and naming, but it is not simply the original program brought forward.
| Question | Modern Microsoft Edit | Legacy MS-DOS Editor |
|---|---|---|
| Implementation | New open-source project | Older DOS-era program |
| Primary target | Modern terminal use, particularly Windows 11 | Historical DOS and legacy Windows environments |
| Interface | Modeless terminal interface with mouse support | Classic DOS full-screen editor |
| Documentation | Modern Windows Edit documentation | Legacy command reference |
| Command-line switches | Check the current release documentation | Legacy options such as /b, /h, /r, and /s are documented |
The older Microsoft command page can therefore be misleading. Its references to MS-DOS Editor, ASCII files, and legacy switches do not establish that the same behavior is supported by the modern application.
What files can Microsoft Edit handle?
Use it primarily for plain-text files, including many scripts and configuration files such as .bat, .ps1, .ini, and .json. That does not guarantee identical behavior for every encoding or application-specific format.
Before editing an unfamiliar configuration file, make a backup. Do not treat Microsoft Edit as a binary editor, and verify encoding-sensitive files after saving. A file that opens as readable text is not necessarily safe to modify without checking how the application expects it to be encoded.
Microsoft Edit’s limitations
Microsoft Edit is a practical quick-editing tool, not a full development environment. The documented feature set does not establish support for syntax highlighting, language servers, extensions, split panes, integrated Git, debugging, or project-wide refactoring.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →It is a good fit for:
- Small scripts and configuration files
- Plain-text notes
- Quick administrative changes
- Minimal or terminal-focused workflows
- Situations where launching a large graphical application is inconvenient
Choose a larger code editor for software projects, advanced source navigation, debugging, extensions, build tooling, or team development workflows.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Microsoft Edit compared with alternatives
Notepad
Choose Notepad when you want a conventional graphical Windows editor, especially through File Explorer or a normal desktop workflow. Microsoft Edit is preferable when staying inside a terminal matters. Notepad’s feature set changes with Windows releases, so avoid assuming that every version offers the same capabilities.
Visual Studio Code
Visual Studio Code is the stronger choice for projects requiring extensions, project navigation, source control, debugging, and integrated development features. Microsoft positions it as a free standalone source-code editor, separate from the full Visual Studio IDE. It is more capable than Microsoft Edit, but excessive for a one-line configuration change.
Notepad++
Notepad++ is a Windows-focused graphical editor suited to users who want more development-oriented features than basic Notepad without making terminal editing central to their workflow. It requires a separate third-party installation.
Free tools Windows power users keep installed
One-click scans. No signup required.
nano, Vim, and Emacs
These editors remain strong choices in Linux, WSL, and SSH environments, particularly for users who already know their keyboard-driven conventions. Microsoft Edit is modeless, so it is not a drop-in behavioral replacement for Vim or nano.
Best Value
Troubleshooting Microsoft Edit
“edit is not recognized”
First check the Windows version and installed updates. Modern Microsoft Edit should not be assumed to exist on every Windows PC or on Windows 10. The legacy command documentation’s mention of Windows 10 or Windows Server does not prove that the modern editor is installed there.
On a supported system, try:
winget install Microsoft.Edit
If that fails, WinGet may be unavailable, package sources may be blocked, or organizational policy may prevent installation. Use the official GitHub repository for alternative installation information.
The display or keyboard behavior is incorrect
Text-mode applications can behave differently depending on the console host. Try running Microsoft Edit in Windows Terminal first. If rendering or keyboard input is still problematic, test another supported console host and review its terminal settings.
The file will not save
Saving failures are usually related to the file or its location rather than to the editor itself. Check that:
- The path is correct.
- The destination directory is writable.
- The file is not marked read-only.
- Another process is not locking the file.
- The file is not in a protected location such as
C:WindowsorC:Program Files.
Edit a copy in a writable directory when possible. Use an elevated administrative shell only when the file genuinely requires administrator permissions; do not routinely run every editing session as administrator.
The old switches do not work
You may be reading the legacy MS-DOS Editor documentation. Options such as /b, /h, /r, and /s belong to that older command syntax and should not automatically be applied to modern Microsoft Edit.
Bottom line
Microsoft Edit fills a useful gap on Windows: a small, first-party terminal editor for quick plain-text and configuration-file changes. Try edit first, install it with winget install Microsoft.Edit if necessary, and use Visual Studio Code or another full editor when the task grows into software development.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchMost importantly, do not confuse the modern Windows 11 application with the legacy MS-DOS Editor. They share a name and inspiration, but they are separate implementations with different documentation and capabilities.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

