I have tried this command and it doesn't work :
...
echo NOTE: if you don't have an account leave it blank
echo Enter the username please
set /p USERNM=Type :
if USERNM=" " (
echo Added 1000 coins to your account
) >Folder\logs.txt
if else (
echo Added 1000 coins to the account %USERNM%
) >Folder\logs.txt
...
Let me explain, The Batch-File will ask for the username to save it in a logs.txt file. If the user Don't have an account he will leave it blank and it will display the message above, and if he have one he will enter it and the logs file will include his username, the problem is the code is don't work. If anyone knows Solution please tell me, and Thanks !