Aspell for Windows

The native Windows Aspell program was quite broken last time I tried it. Instead, use Aspell in Windows Command Prompt via Windows Subsystem for Linux.

Setup

From WSL Terminal:

apt install aspell

In Windows, create a file say in %userprofile%/scripts/aspell.bat and add %userprofile%/scripts to your Windows PATH.

file aspell.bat contains:

@echo off

bash -c "aspell check %1"

Usage

From Windows Command Prompt:

aspell myfile.txt

or

aspell path/to/myfile.txt

don’t use backslash \ in paths, only forward slash /