Trying to play with some Batch.
@ echo off
IF EXIST %CD%\Minecraft.exe
Minecraft.exe
IF NOT exist %CD%\Minecraft.exe
wget.exe https://s3.amazonaws.com/MinecraftDownload/launcher/Minecraft.exe
Minecraft.exe
pause
What have I done wrong? CMD just closes when I run it.
You could read the help of the IF command
if /?.It explains that the if expects all on one line
Or use the
ELSE