How do I create a .bat file to run Kaspa CLI wallet commands on Windows?

You can create a Windows batch (.bat) file to run each Kaspa CLI wallet operation with a simple double-click instead of typing commands every time. To create one, right-click inside your C:\Kaspa\ folder, choose Create → New text document, then rename the file to something like create-wallet.bat or wallet-daemon.bat. One important trap to watch for: Windows sometimes hides file extensions by default, so a file you name create-wallet.bat may actually be saved as create-wallet.bat.txt — which won't work as a batch file. Knowing how to create these files matters because the Kaspa CLI wallet relies on running specific commands, and batch files let you launch those commands reliably without re-typing them each session.

Learn more ›