mercredi 4 octobre 2017

Mutli-Line Writing To File In If Statement Batch

So I'm making something in batch and for some reason it says this code is wrong. I think it has to do with the file writing inside the if statement but I don't know, any ideas?

if %firsttime% == 1 (

:firsttime

cls

echo Loading...
echo Performing first time setup.

(
echo 0
echo %language%
) > programinfo.txt

)

Aucun commentaire:

Enregistrer un commentaire