Using Auto-Editor on Windows

Recommended Shell and Terminal

Use the Windows Terminal app with PowerShell when running auto-editor commands. Using the CMD shell isn't impossible, but you'll have to write it a little differently then the docs.

Shell vs. Terminal

The shell is the program that actually does stuff and a Terminal is GUI program that displays what the shell is doing and is responsible for tasks like scrolling history and Copy Paste.

CMD is the older shell Windows keeps around for compatibly with old programs while PowerShell is the relatively newer shell that work with the examples on the docs.

Traditionally, Windows has kept there terminals and shells tightly coupled. The CMD shell could only be accessed by the CMD Terminal and the PowerShell... well... shell could only be used by the PowerShell Terminal. Windows Terminal allows independent of any shell and allows both.

Running Auto-Editor on Many Files

Auto-Editor doesn't have an option that batch processes files, but you can achieve the same effect with a simple PowerShell script.


    # Save with the ".ps1" extension
    $files = "C:\Users\WyattBlue\MyDir\"
    foreach ($f in Get-ChildItem $files) {
      auto-editor $(Join-Path -Path $files -ChildPath $f)
    }