The script can't find `longcoin-cli.exe` because it’s either in the wrong location or not properly referenced.
How to Fix It:1. **Check File Location**: Ensure `longcoin-cli.exe` is in the same folder as your `
mine.bat` file.
2. **Use Full Path**: If it’s in a different folder, edit `
mine.bat` to include the full path, like this:
"C:\path\to\longcoin-cli.exe" generatetoaddress 1 YOUR_WALLET_ADDRESS
3. **Run as Administrator**: Right-click `
mine.bat` and select "Run as Administrator."
4. **Open Wallet First**: Make sure your Longcoin wallet is running before running the script.
Try this and let me know!