У нас вы можете посмотреть бесплатно DO NOT CLICK // LOCAL AND GLOBAL VARIABLES IN BATCH SCRIPT // Part- 9 - LOCAL AND GLOBAL VARIABLES или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
UDEMY : https://www.udemy.com/course/learn-ba... Title: DO NOT CLICK // LOCAL AND GLOBAL VARIABLES IN BATCH SCRIPT // Part- 9 - LOCAL AND GLOBAL VARIABLES In this lesson, you will be learning about LOCAL AND GLOBAL VARIABLES in Batch Script. In any programming language, there is an option to mark variables as having some sort of scope. Normally, variable having a global scope can be accessed anywhere from a program whereas local scoped variables have a defined boundary in which they can be accessed. DOS scripting also has a definition for locally and globally scoped variables. By default, variables are global to your entire command prompt session. Call the SETLOCAL command to make variables local to the scope of your script. @echo off set GLOBALVAR = 5 SETLOCAL set VART = 13145 set /A VART = %VART% + 5 echo %VART% echo %GLOBALVAR% ENDLOCAL PAUSE If you have variables that would be used across batch files, then it is always preferable to use environment variables. Once the environment variable is defined, it can be accessed via the % sign. The following example shows how to see the JAVA_HOME defined on a system. The JAVA_HOME variable is a key component that is normally used by a wide variety of applications. @echo off echo %JAVA_HOME% The output would show the JAVA_HOME directory which would depend from system to system. Following is an example of an output. C:\Temp\Byte\4.0.1\jre ======================================================= If you have any questions, please post them. Don't forget to comment, like, rate and subscribe ===================================================== Batch file programming tutorial // CREATE BATCH FILE // Batch Scripting Part-1 -- • Batch file programming tutorial // CREATE ... Batch file programming tutorial // Batch Scripting Part-2 - Basic Batch Commands -- • Batch file programming tutorial // Batch S... Batch file programming tutorial // COPY COMMAND // Batch Scripting Part-3 - COPY Batch Command -- • Batch file programming tutorial // COPY CO... Batch file programming tutorial // DEL COMMAND // Batch Scripting Part-4 - DEL Batch Command -- • Batch file programming tutorial // DEL COM... Batch file programming tutorial // MOVE COMMAND // Batch Scripting Part-5 - MOVE Batch Command -- • Batch file programming tutorial //MOVE COM... Batch file programming tutorial // ATTRIB COMMAND // Batch Scripting Part-6 - ATTRIB Batch Command -- • Batch file programming tutorial // ATTRIB ... Batch file programming tutorial // FIND COMMAND // Batch Scripting Part-7 - FIND Batch Command -- • Batch file programming tutorial // FIND CO... Batch file programming tutorial // VARIABLES IN BATCH SCRIPT // Batch Scripting Part- 8 - VARIABLES -- • Batch file programming tutorial // VARIABL... ====================================================== Check out other videos WEAPONS THAT CAN DEFEAT THANOS -- https://www.youtube.com/watch?v=nvlez MS PAINT TRICK -- https://www.youtube.com/watch?v=4IvBC Matrix Effect -- • Matrix Rain Best Trick// Create Matrix Rai...