Why might my Windows batch file not work after renaming it to .bat?

If your batch file does not run, Windows may have silently saved it as create-wallet.bat.txt instead of create-wallet.bat. Windows has a setting that hides known file extensions, so the file appears to have the right name even though it has a hidden .txt extension appended — meaning the operating system still treats it as a plain text file rather than an executable batch script. This matters because a misnamed file will simply open in Notepad instead of running your Kaspa wallet command, and the mistake is invisible unless you turn file extension display on in Windows Explorer.

Learn more ›