Windows Command Line Tutorial #5 - Batch Scripts

preview_player
Показать описание
This is a tutorial covering all of the basic concepts of batch programming/scripting. How to use variables, if statements, loops, functions and plenty more. All Links and Slides will be in the description. Subscribe for more cool stuff!

If you like what you see be sure to subscribe and thumbs up!
Рекомендации по теме
Комментарии
Автор

Is this the entire tutorial for batch programming language and its scripts?

cozakokotano
Автор

I was literally looking for this for ages!! Thank you much man, you're my hero <3. By the way, why does the colors of your text change when you type it? It doesn't do that for me.

TheClockmister
Автор

Wait, at 19:20, bat/cmds scripts treat two commands on separate lines differently from two commands on one line with an ampersand & inbetween? What kind of psychopath defined this language?

gregoryfenn
Автор

Hello, thank you very good the video, I have a question if you could help me, I have been trying to block
the opening and others from the contextual menu for weeks to prevent another program to opening another,
for example that ResourceHacker or no other can, only it open the .exe file with double click I really
appreciate your collaboration thanks

kailahot
Автор

Great video! I have a question though. For your power.bat file %%G starts off at 2 and increments by 1, and lets say %1 =2 and %2 = 3. So the answer you are expecting is 8. If %%G starts off at 2, then after the for loop %%G becomes 3 because it increments by 1. Because %%G is now 3 it matches %2, but _result is only 4. Why does it loop once again even though %%G and %2 match?

Jiahaohao
Автор

why don't we assign the local result to a global variable instead of chaining the endlocal command?

theMou
Автор

I made a script using this that pings 2b2t to check if it is online and if it is offline I log on to almost fully skip the queue

derek.somers
Автор

hi
i m so glad that u posted these videos these r the videos i always wanted to learn i have a question can we do hacking using cmd like network cracking or stuff like that

aryanrastogi
Автор

Very useful! We use Win7 at work and I create my own bat files to fire up my python scripts. Powershell is just not worth learning...I've tried.

darturi
Автор

I need some help
I programed in notepad ++ something. I made it to ask the user to pick a number between 1 and 10 and then make the computer pick a random number beween 1 and 10
how can I make DOS echo something if the user picks a number larger then 10?

davidg.
Автор

Dude i do everything as you in notepad and save it on desktop as simple.bat but it wont work it just open and close cmd very fast. Can you help me?

hardcorehenry
Автор

is it possible open ANY APPLICATION CLICK on any menu fuction using bat file, if yes how

sbodakhe
Автор

why is it coloring the text differently?

fetB
Автор

power 2 0 not corect working return 2, must be 1

olegmaz
visit shbcf.ru