Batch scripting 3 if and goto statements

preview_player
Показать описание
Learn how to use the if and goto statements to control your program in windows batch programming.
Рекомендации по теме
Комментарии
Автор

thank you so much i finished my assignment :)

himoutoumarun
Автор

I know this is old. But for people who see this and want to also use ELSE... Else has to be on the "Same Line" as IF. Lines are joined by parenthesis.

For Example:
IF (
do something
) ELSE (
do this instead
)

For more advanced scripting you can use goto statements to move around your script and add exit in the IF/ELSE to terminate code

vinano
Автор

😂i have some else statements that work and some that doesnt so i try avoid else but it needs attension😂

necronomicon-xmortis
join shbcf.ru