Skip to main content
Tag cleanup: Removed "exist" tag, since this tag refers to eXist-db - the free, open source native XML database
Link
Source Link

Batch not working very well. IF EXIST

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.