Damn. I got into the world of computer science and software engineering through first learning batch/cmd. Your videos have played a big role in me getting into comp sci all those years ago and have subsequently impacted all my decisions up to this point 🤣. Thank you so much 👍
scripting is when you are using a specific application that lets you write and edit commands and create commands. you can then run the script through and application like cmd for example. a more advanced form of scripting would be java. you can create games, and other ideas you may have. hopefully this cleared something up for everyone :)
this is purely amazing! I fully appreciate the effort put into this series! the information is incredibly easy to digest and this is also really informative and helpful
Funny story actually, I am a teacher at this school, and back in 2015 I was teaching ELTC for grade 4s (which is just a computer class.), now the school knew that all the grade 4s didn’t know how to save a PowerPoint presentation, so cmd wasn’t blocked and no commands were blocked from use for the grade 4s.. So, there was this kid in the class that was exceedingly above everyone else, he could type fast, mess with the javascript we have on the computers for the extension grade 6 classes, and then he found out about cmd.. So this kid wasn’t that badly behaved but he wasn’t a goodie-2-shoes either, so when he found out about it I could tell that he had some devilish things he was going to do.. So the next day he brought a USB to school and said it was for his “Scratch project”, now I did tell the students that they could save their projects on a USB work on it at home, and bring it to school, so I wasn’t worried.. but then, when he plugged it in, 4 minutes later, the ASCII version of Star Wars, a new hope, started playing on every computer within the school in a command prompt window, and whenever we tried to close it another window would pop-up. So later that day the tech guys easily stopped it. And since the kid hadn’t learnt the art of “Making whatever you do untraceable on the computer” yet, he was busted for doing it and was given a week suspension. Let’s just say we didn’t get to do the computer lesson that day.
he probably just inserted the command to the wifi router and he just used a command to send it to all the computers. Idk how to do it but I think that's how he did it.
interestingly, when i was younger in primary school there was this thing where the anti-hack system was VERY secure. however, there was ONE overlooked bug. if you boot into Advanced Recovery Mode you can use the administrator cmd prompt which lets you make yourself a new account with admin priveliges. there was chaos everytime we had a computer lesson. once, some kid even dropped the memz virus into the network.
Is it true if your script is too long batch won’t recognize the timeout command? I recently made a batch game where you can train and you have to wait a certain amount of time to get another “strength point” but it have me a error message that timeout is not a batch command. I was confused so I copy the script where I had the timeout command and put it in a blank batch notepad and it worked.
@@mayankdora4793 OK here Here is code 1 ================ @echo off cls prompt Hoverboard2525's bypass [ENTER COMMAND]: cmd ================ If code 1 doesn't work, try this (code 2) ================ @echo off cls :a set /p a=Hoverboard2525's bypass [ENTER COMMAND] %a% goto a
Let me tell you something.. I had created 3 more accounts in my pc. And lost passwords and my desktop is like no-space everywhere invaded. I am at 1:26 and just opened cmd net user method and you are my new teacher go on.
Tell you kids, back in my day, we had it so rough... or so much better, i can't tell anymore. anyway, every day, we would wake up at 2 in the morning and go to the table for breakfast. we all lived in a closet, you see, so it was one room. and we would ask, me and my 64 brothers and 27 sisters, "what's for breakfast mum?". she would smack us all with a shoe and say "cold beans". and if we complained and said "but we had cold beans yesterday" - because we had cold beans every day - she would smack us all five times with a shoe and say "tough its all we can afford. i'm trying to feed a family of 93 with just half a silver buckington", a silver buckington was about the same as half a penny back in the day. then we would head to school. we met up with the johnson kids from down the road, and walked the 1674 miles to school. on the way to school, we had to walk up a mountain so tall it extended to outer space. when we got to the top of the mountain, we would see the peterson boys on their fancy bikes - which they dont make like they used to, and we would race them down the mountain. then, when we got to school at 4 in the morning, the headmaster would come up to us and say "you bloody kids are late", then he would smack us all with the cane 10 times and tell us we had 7 years of detention. then, we went to class, and mr stevenson would say "ok line up kids", then he would spank us each 60 times, then hit us each with the cane 40 times each. then it was 7 at night and we had to walk home. then, when we got home, we'd ask "whats for dinner mum?", and she'd smack us each 50 times with a pan and say "rotten cabage". and if we complained, she would smack us each 100 times with a broom and say "im trying to feed a family of 154 on just one islet sliver, just you wait until your dad gets home" - now an islet silver was worth about as much as a grain of sand. then, when our dad got home from his job at the soot factory, he would hit us all 180 times with his belt. if we had been naughty, we would hit us all another 600 times. then, at 1:58, mum would say "ok time for bed". then, we got into our potato sacks, and she would hit us each with a shoe 8 times before we went to sleep. on saturdays, we went down to uncle bob's farm to work. we would have to walk 345 miles to the bus stop, then catch the route 4 bus for 56 stops. we would get on the bus and pay our fare of 3 teddy roses - now a teddy rose is worth about the same as a flake of skin. then, if the ticket inspector came to us, he would hit us all 4 times with his baton. if any of us had lost our ticket, we would hit us all 10 times again and throw us off the bus and we had to walk the rest of the way. when we got to the farm, uncle bob would drive to the gate in his tractor, hit us all 780 times with his crowbar, and tell us to get in his trailer so he could drive us to the farm house. then, we had to plow the fields with a toothbrush in the blazing summer heat - now, they dont make summers like they used to, so it was about 1345.4 degrees spencer, or 67 degrees centigrade using your new-fangled metric system. then, we would have to milk the cows - now, they dont make cows like they used to, so each cow weighed about 459 hog's heads, or 3.2 tonnes in your new-fangled metric system. if you touched a cows udder, it would kick you and you would die, so you had to be really careful when you milked the cows. then, when we were done, uncle bob would say "ok kids time for your pocket money". he would give us each 9 copper jemimahs - which are worth about one political promise each - and beat us each 6 times with his tractor before we left. on sundays, we would meet the johnson boys and go down to the river - now, they don't make rivers like they used to, so this river was about as wide as the whole of america, and as deep as the marianas trench, and it was filled with liquid tungsten. we would play by the old oak tree near the river, climbing on it and building tree houses and such. now - they don't make trees like they used to, so this tree had a trunk as thick as a city, and was tall enough that the branches on the top could scrape the moon. one day, little jimmy fell from the top of the tree. when he hit the ground, the only bit of his body we could recognise was his left eyeball. we picked up all his bits and rushed him to the doctors surgery. dr james said "oh its just a scratch little jimmy dont worry pop a plaster on it and you'll be right" and he gave little jimmy a plaster and a lollipop and he was ok. after we finished playing by the river, we would go into town and get some candy. now, back in the day, you could give the shopkeeper one bronze winglet - which is worth about as much as a ciggarette butt - and he would give you the entire stock of the store. so we would go and get our candy, and we'd go into the town square and eat it. now, we didn't have any of your fancy food laws back in the day, so there was all kinds of stuff in our candy. bleach, rust, bones--you name it. so we would always get a little hyper after our candy. one day, when we were hyper, we went up the mr boris's car, the only car in the town, and touched it. as we touched it, we saw dad storming down the street holding his belt. "you kids, having fun while i work all day in the soot factory just so you can have grilled water for tea every night, i oughta smack you all". we were sure he was going to smack us, but then he said "no, i got a better idea, ill take you to see mr henderson, he'll set ya right". now, dad had told us about mr henderson. mr henderson was a veteran from the great war, where he got a really bad injury, but we never knew what it was. dad walked us all down to the pub, and we saw a left testicle propped up on a pegleg. "mr henderson," said dad, "i have some kids here who need a good whooping". then, mr henderson picked up the entire pub, and hit us each 4006 times with it. then, dad said "right, i gotta go back to the soot factory, you kids run on home now". now, by now it was 1pm, which meant it was curfew. while we were walking out of the town square, we heard a man shout "oi you bloody kids, its curfew". we turned around and saw the constable holding his baton. he hit us each 160265 times with his baton, then put us in gaol for 60123865 years. now - they don't make gaols like they used to - this one had 5 mile thick steel walls, and a single hole in the top let in some light. we were in there for about 13526 years, until mum baked the constable some cardboard pie so he would let us out. then, she hit us all 1292 times with a washboard, and grounded us for the rest of our lives. so don't you come complaining to me about nonsense like not having tv while hiking 25 miles to school.
Did your school block CMD? If my batch hack didn't work, simply save a text file with the extension .ps1, right click on the file and edit it with powershell. CMD commands work in powershell plus you get access to all powershell commands. Most schools forget to block powershell.
Hey man, I must tell you that you teach thoroughly well! I've got a doubt... and it's about a command of Batch: the goto. I didn't really understand if you have to put ":end"? Do I have to? I mean just if i can assign the word that i want instead of :end...
If this works... imma take over my fucking school HAHAHAHA... 6 months of programming java, js, c#, phython, html, css and DOS / Batch will finally come to use...Gonna send the principal a dick pic ;)
i grew up with ms dos , how technology changed through the years . ms dos versions v3 v4 v5 v6 v6.22 and then windows came along . v1 , v3 v3.1 windows for work groups all these versions was basically a shell that run on ms dos . then came windows 95 /98/98 SE windows NT , windows me , windows xp , then windows 7 and windows 8/8.1 currently windows 10 . and i used all of them. my very first computer was a zx spectrum which plugged into a CRT TV and loaded and saved software via a tape deck.
if you havnt figerd it out yet this is what to do @echo off echo 1st text ping localhost -n 3 >nul echo 2nd text ect... this also makes a load bar @echo off echo loading. ping localhost -n 1 >nul cls echo loading.. ping localhost -n 1 >nul cls echo loading... ping localhost -n 1 >nul cls this code will last 3 secs for longer add it again ect...
That's if they block you from opening, not running. If they block it from running, use this in a .bat or .cmd file: @echo off cls :start set p=echo. set /p input=^> %input% goto start exit
Congrats, for me this video is well done and the way you teach is really clear! When I heard you say "a long time ago, before I was born, there was DOS" I couldnt help but laugh cause that makes me feel way too old. And Im not even 30 yet :) But it is true, in technology-development terms, thats a REALLY (really) long time ago. I used to "play" with it when I was 7. That was like the dark ages, or something, but at the time it was like "woooooow, dude..!". :)
I've been programming in batch for about a year now. If you ever need help with anything, such as for loops, setlocal Enabledelayedexpansion, nested for loops or nested if statements, I can help you. Just feel free to message me at anytime ^-^
My school hasn't blocked Cmd/Command Prompt, its quite funny because i go on "My" computer in Tech class and then i type in color 2, then tree, everyones like what the heck is that... flipping how do people not know this, there are so many batch videos and i bet even if your not a computer wiz like me and probably most fellow people watching this video, youve looked up how to make a game, thinking it's simple and you wanna be popular at school or something for it, well on youtube when you look up "How to make a game" probably within the top 10 videos will be a batch coding or how to make a game with notepad... It's amazing how many people don't know this.
@@vladdigby165 and it really wasn't that great or revolutionary, despite how it felt when I was a kid. It was written by some college friend of Gates, Balmer, and Allen. They bought it for next to nothing from him and sold it to IBM pretending they wrote it. Microsoft didn't really pull ahead of Apple until Windows 95. Hell, Windows was practically unusable until Windows 3.1 and people just used DOS because it was the only stable option. But, nostalgia is a hell of a drug... I remember learning command line in 2nd grade just so I could play games in DOS. Games ran too slowly in Windows (^.^)
Not sure how you would play a game in 'DOS' you could boot a game along with other programs using DOS though. Well that is down to personal experience anyway hardware was a Commodore 64. Before that the Atari ? can you remember the model that you actually put Cassette tapes in and a game would load! No idea who or what the software was for that I would have only been 3 - 5 yrs old. I can remember a little chicking appearing and a loading bar while you waited for the game to 'boot' up. Would litrally take hours! A cassette tape though not a cartridge or anything like that just a cassette tape like the type music was packaged and sold on. (with a magnetic strip. Much like a small VHS tape.
In order to have a better understanding of this 8 clear well-explained tutotrials, I advise to watch before "Command Prompt Basics 1", "Command Prompt Basics 2" and "Command Prompt Basics 3". Why? Because any batch file can be written directly from cmd.exe and because system 32 has many useful comamnds to manipulate files. Enjoy both sets of lessons.
Mr technlolgycrayz i have a question about Batch file , Ilove coding and ryt now i start htlm.. May i know what batch file used for ... ? remember i am a begginer
it said that the server was down on the website,BTW in my secondary school (UK!) they block CMD but I had no idea about bat files so I will see if I can write bat files then make someones CUP shutdown!
When i try to open the bat file to carry out the commands edited into it my windows 8 computer says, "This app cant run on your pc, to find a version for your pc check with software publisher. Is there a fix? Technologycrazy
My school blocked notepad, cmd and run years ago (around 2005-6). But they forgot about View Source in Internet Explorer. :p Low and behold, notepad became available, thusly cmd ran.
Well explained, nice calm voice, and in a moderate tempo. Nice work, I really hope you will get back to making tutorials again sometime. .. *BUT*...!! 9:12 It looks like ScienceHideout has deleted all vid's(?) - New usr.name..? or...just outdated..?
UPDATE: I realize it is hard to see as I neglected to zoom in . Please set the quality to 1080p and go full screen. This is fixed in all the future episoides.
Maybe you can make a video about cmd itself and not bat files. You can make a tutorial abt cmd commands like cd and dir because that will be very useful in bat files
HELP!! in CMD on windows 8, when I type the command [net view] I get this message (no more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept) pls tell me how to fix this error 71 message!!
I'm on windows 10 and it won't let me open the .bat file with the message "This app can't be run on your PC: To find a version for your PC, check with the software publisher"? Any idea on what is happening?
hello please i really do need help here i have wriiten a little .bat program to generate random numbers and i now need the numbers i have generated to automatically run on my mobile device as a calling function but dont know how to go about it dont know if i could get some ideas here
Hi, I am trying to follow the same steps, however I don't see any running as I am typing in the Notepad and clicking on the batch file I created. No cmds are running at all. Am I missing anything ?
how did you make the shutdown other computers batch file. I know how to do it in CMD but i don't know how to do it without the window popping up ( shutdown -i window )
Hello, i have a problem. i created my batch file when i clicking on the file, the file is not working. Can someone tell me what is the problem? please!
Not only does my school NOT block cmd, it also makes all student account have administrative privalages, I know many ways that I could screw them over (Of course I don't, i just type "tree" in cmd so I look smart)
Technologycrazy. i sm realy interested in programming and i really wanna try using cmd as its my gui. but this is your first lesson and i cant create batch file am using windows 10 when i create the file and try to open it says "This App Cant Run On Your PC " "try to find version for your pc, check with software publisher" and i dont know how to solve it
do you administrator right for you computer? Or you could try to get notepad++ and then create a new file a save it as a .bat There is no way that you cant run a batch file on your own computer
so i found out that if you do start %0 %0 it will open the command thing... after basically DDoS-ing a few school computers by setting a few icons to internet explorer i now known as a hacker which made me want to find out more about batch files
This has aged well! Still a useful and clear and interesting series in 2019 :)
Yes vary but i is in 2020 now lol
Too in 2020
everyone is 2020 lol
2021
@Msozod yessir
Damn. I got into the world of computer science and software engineering through first learning batch/cmd. Your videos have played a big role in me getting into comp sci all those years ago and have subsequently impacted all my decisions up to this point 🤣. Thank you so much 👍
teach me please
scripting is when you are using a specific application that lets you write and edit commands and create commands. you can then run the script through and application like cmd for example. a more advanced form of scripting would be java. you can create games, and other ideas you may have. hopefully this cleared something up for everyone :)
this is purely amazing! I fully appreciate the effort put into this series! the information is incredibly easy to digest and this is also really informative and helpful
dude i never saw anyone who can really explain this at you're level thank you alot
u gut a new follower
Yes. When my dad first saw the video he laughed to. I wish I was alive during the creation of computers. It would of been very exciting.
Bro why are you not making videos your videos are so interesting please make interesting videos like this😄😀😁
@@riteshsinghparihar2549 that was 12 years ago lil bro
@@Floodedd and my comment was 3 yr old I'm not even *lil bro*
I just wanna thank you for teaching me my first coding language ever, a few years later and I know a lot more coding languages so that's pretty cool
little did they know that this video made from 10yrs ago is a blessing to my midterm project this year 2022
Funny story actually,
I am a teacher at this school, and back in 2015 I was teaching ELTC for grade 4s (which is just a computer class.), now the school knew that all the grade 4s didn’t know how to save a PowerPoint presentation, so cmd wasn’t blocked and no commands were blocked from use for the grade 4s..
So, there was this kid in the class that was exceedingly above everyone else, he could type fast, mess with the javascript we have on the computers for the extension grade 6 classes, and then he found out about cmd..
So this kid wasn’t that badly behaved but he wasn’t a goodie-2-shoes either, so when he found out about it I could tell that he had some devilish things he was going to do..
So the next day he brought a USB to school and said it was for his “Scratch project”, now I did tell the students that they could save their projects on a USB work on it at home, and bring it to school, so I wasn’t worried.. but then, when he plugged it in, 4 minutes later, the ASCII version of Star Wars, a new hope, started playing on every computer within the school in a command prompt window, and whenever we tried to close it another window would pop-up. So later that day the tech guys easily stopped it. And since the kid hadn’t learnt the art of “Making whatever you do untraceable on the computer” yet, he was busted for doing it and was given a week suspension. Let’s just say we didn’t get to do the computer lesson that day.
I heard this story before XD “the kids” vision of the story
he probably just inserted the command to the wifi router and he just used a command to send it to all the computers. Idk how to do it but I think that's how he did it.
@@0_- Thats... thats not how that works..
@@ytilaeR_ yeah I know I just assumed
interestingly, when i was younger in primary school there was this thing where the anti-hack system was VERY secure. however, there was ONE overlooked bug. if you boot into Advanced Recovery Mode you can use the administrator cmd prompt which lets you make yourself a new account with admin priveliges. there was chaos everytime we had a computer lesson. once, some kid even dropped the memz virus into the network.
Brings back the memories.
I remember when I had to know DOS to use a computer.
The green screen computers where you can see every pixel on the screen.
Hey Justin, wanted to let you know that this was a good video and it was awesome!!! You earned my sub!
"A long time ago, before I was born..." I feel called out by this LOL! My first computer was DOS
@daveofnhspeaks Thanks for always been on things and commenting on all my videos. I truly appreciate it
"A long time ago, before I was born there was this thing called MS-DOS" - I died a little inside
When you realize, this video uploaded near 10 years ago... Great audio, great video, useful content! THX!
Use the timeout command. Example: TIMEOUT 10 ( this will pause for 10 second)
Is it true if your script is too long batch won’t recognize the timeout command?
I recently made a batch game where you can train and you have to wait a certain amount of time to get another “strength point” but it have me a error message that timeout is not a batch command.
I was confused so I copy the script where I had the timeout command and put it in a blank batch notepad and it worked.
idk where the code is to enable cmd on school computers
Also you can add /nobreak at the end so people can't skip
@@mayankdora4793 OK here
Here is code 1
================
@echo off
cls
prompt Hoverboard2525's bypass [ENTER COMMAND]:
cmd
================
If code 1 doesn't work, try this (code 2)
================
@echo off
cls
:a
set /p a=Hoverboard2525's bypass [ENTER COMMAND]
%a%
goto a
Let me tell you something.. I had created 3 more accounts in my pc. And lost passwords and my desktop is like no-space everywhere invaded. I am at 1:26 and just opened cmd net user method and you are my new teacher go on.
i have been looking for a person to go in depth of how batch files and commands work so i could learn.thank you.
Yes this Guy made some mistakes but i thought it was good most people that have commented have complained. Thanks this helped me
I'm in 2020 and I never knew about batch files, good job dude
Thank you for helping me. 1hr of watching video and your the only one that helped. Thank you
Tell you kids, back in my day, we had it so rough... or so much better, i can't tell anymore. anyway, every day, we would wake up at 2 in the morning and go to the table for breakfast. we all lived in a closet, you see, so it was one room. and we would ask, me and my 64 brothers and 27 sisters, "what's for breakfast mum?". she would smack us all with a shoe and say "cold beans". and if we complained and said "but we had cold beans yesterday" - because we had cold beans every day - she would smack us all five times with a shoe and say "tough its all we can afford. i'm trying to feed a family of 93 with just half a silver buckington", a silver buckington was about the same as half a penny back in the day. then we would head to school. we met up with the johnson kids from down the road, and walked the 1674 miles to school. on the way to school, we had to walk up a mountain so tall it extended to outer space. when we got to the top of the mountain, we would see the peterson boys on their fancy bikes - which they dont make like they used to, and we would race them down the mountain. then, when we got to school at 4 in the morning, the headmaster would come up to us and say "you bloody kids are late", then he would smack us all with the cane 10 times and tell us we had 7 years of detention. then, we went to class, and mr stevenson would say "ok line up kids", then he would spank us each 60 times, then hit us each with the cane 40 times each. then it was 7 at night and we had to walk home. then, when we got home, we'd ask "whats for dinner mum?", and she'd smack us each 50 times with a pan and say "rotten cabage". and if we complained, she would smack us each 100 times with a broom and say "im trying to feed a family of 154 on just one islet sliver, just you wait until your dad gets home" - now an islet silver was worth about as much as a grain of sand. then, when our dad got home from his job at the soot factory, he would hit us all 180 times with his belt. if we had been naughty, we would hit us all another 600 times. then, at 1:58, mum would say "ok time for bed". then, we got into our potato sacks, and she would hit us each with a shoe 8 times before we went to sleep. on saturdays, we went down to uncle bob's farm to work. we would have to walk 345 miles to the bus stop, then catch the route 4 bus for 56 stops. we would get on the bus and pay our fare of 3 teddy roses - now a teddy rose is worth about the same as a flake of skin. then, if the ticket inspector came to us, he would hit us all 4 times with his baton. if any of us had lost our ticket, we would hit us all 10 times again and throw us off the bus and we had to walk the rest of the way. when we got to the farm, uncle bob would drive to the gate in his tractor, hit us all 780 times with his crowbar, and tell us to get in his trailer so he could drive us to the farm house. then, we had to plow the fields with a toothbrush in the blazing summer heat - now, they dont make summers like they used to, so it was about 1345.4 degrees spencer, or 67 degrees centigrade using your new-fangled metric system. then, we would have to milk the cows - now, they dont make cows like they used to, so each cow weighed about 459 hog's heads, or 3.2 tonnes in your new-fangled metric system. if you touched a cows udder, it would kick you and you would die, so you had to be really careful when you milked the cows. then, when we were done, uncle bob would say "ok kids time for your pocket money". he would give us each 9 copper jemimahs - which are worth about one political promise each - and beat us each 6 times with his tractor before we left. on sundays, we would meet the johnson boys and go down to the river - now, they don't make rivers like they used to, so this river was about as wide as the whole of america, and as deep as the marianas trench, and it was filled with liquid tungsten. we would play by the old oak tree near the river, climbing on it and building tree houses and such. now - they don't make trees like they used to, so this tree had a trunk as thick as a city, and was tall enough that the branches on the top could scrape the moon. one day, little jimmy fell from the top of the tree. when he hit the ground, the only bit of his body we could recognise was his left eyeball. we picked up all his bits and rushed him to the doctors surgery. dr james said "oh its just a scratch little jimmy dont worry pop a plaster on it and you'll be right" and he gave little jimmy a plaster and a lollipop and he was ok. after we finished playing by the river, we would go into town and get some candy. now, back in the day, you could give the shopkeeper one bronze winglet - which is worth about as much as a ciggarette butt - and he would give you the entire stock of the store. so we would go and get our candy, and we'd go into the town square and eat it. now, we didn't have any of your fancy food laws back in the day, so there was all kinds of stuff in our candy. bleach, rust, bones--you name it. so we would always get a little hyper after our candy. one day, when we were hyper, we went up the mr boris's car, the only car in the town, and touched it. as we touched it, we saw dad storming down the street holding his belt. "you kids, having fun while i work all day in the soot factory just so you can have grilled water for tea every night, i oughta smack you all". we were sure he was going to smack us, but then he said "no, i got a better idea, ill take you to see mr henderson, he'll set ya right". now, dad had told us about mr henderson. mr henderson was a veteran from the great war, where he got a really bad injury, but we never knew what it was. dad walked us all down to the pub, and we saw a left testicle propped up on a pegleg. "mr henderson," said dad, "i have some kids here who need a good whooping". then, mr henderson picked up the entire pub, and hit us each 4006 times with it. then, dad said "right, i gotta go back to the soot factory, you kids run on home now". now, by now it was 1pm, which meant it was curfew. while we were walking out of the town square, we heard a man shout "oi you bloody kids, its curfew". we turned around and saw the constable holding his baton. he hit us each 160265 times with his baton, then put us in gaol for 60123865 years. now - they don't make gaols like they used to - this one had 5 mile thick steel walls, and a single hole in the top let in some light. we were in there for about 13526 years, until mum baked the constable some cardboard pie so he would let us out. then, she hit us all 1292 times with a washboard, and grounded us for the rest of our lives. so don't you come complaining to me about nonsense like not having tv while hiking 25 miles to school.
Ok boomer
Did your school block CMD? If my batch hack didn't work, simply save a text file with the extension .ps1, right click on the file and edit it with powershell. CMD commands work in powershell plus you get access to all powershell commands. Most schools forget to block powershell.
Hey man, I must tell you that you teach thoroughly well! I've got a doubt... and it's about a command of Batch: the goto. I didn't really understand if you have to put ":end"? Do I have to? I mean just if i can assign the word that i want instead of :end...
you can also convert it to a .exe file thought. I did, it works fine
LOL my school is stupid because cmd is not blocked at all they are too busy blocking stuff like facebook and snapchat
If this works... imma take over my fucking school HAHAHAHA... 6 months of programming java, js, c#, phython, html, css and DOS / Batch will finally come to use...Gonna send the principal a dick pic ;)
hey i couldn't downloaded it through the link can you just put the code in the description?
@liamwise1 Oh ya. Oops. If you watch it is hd and full screen you can see it
i grew up with ms dos , how technology changed through the years . ms dos versions v3 v4 v5 v6 v6.22 and then windows came along . v1 , v3 v3.1 windows for work groups all these versions was basically a shell that run on ms dos . then came windows 95 /98/98 SE windows NT , windows me , windows xp , then windows 7 and windows 8/8.1 currently windows 10 . and i used all of them. my very first computer was a zx spectrum which plugged into a CRT TV and loaded and saved software via a tape deck.
I really like how quickly you talk while teaching this :) everyone else talks too slowly to keep my attention lol
Can you make another Bat Series in 2020? It might be Useful
if you havnt figerd it out yet this is what to do
@echo off
echo 1st text
ping localhost -n 3 >nul
echo 2nd text
ect...
this also makes a load bar
@echo off
echo loading.
ping localhost -n 1 >nul
cls
echo loading..
ping localhost -n 1 >nul
cls
echo loading...
ping localhost -n 1 >nul
cls
this code will last 3 secs for longer add it again ect...
0:49 actually MS-Dos was an operating system and the cmd is a terminal for Windows OS so it’s not the same
bat file, more like a floating file that mainly stays in dark areas.
Orion D. Hunter oof you my guy missed the joke
Orion D. Hunter r/woooosh
@Orion D. Hunter its okay to be a nerd, but a nerd who doesn't get these jokes, just makes me sad...
Lmao y’all really replying to a comment 5 years after it was posted.
some rat you too lmao
2022. Amazing what is still out there running.
you don't need admin privileges to do "netuser" in most servers as it is usually a neglected command by admins (primarily at schools)
watching this in September 2022... needed this for a project.. thanks
how to open cmd at school xD
open notepad:
type in
@echo off
start command
save as CMD.bat
Here you go CMD at school :D
del system32.exe >:D nah jk dat illegal
It’s not system32.exe, it’s ntoskrnl.exe , at least for me in windows 10 pro
@Orion D. Hunter Bat can run cmd Directly so it doesn't need to open CMD
my school did an big oof when we got our pc we all loged in exept me i used my personal acc so i have no constraints
That's if they block you from opening, not running. If they block it from running, use this in a .bat or .cmd file:
@echo off
cls
:start
set p=echo.
set /p input=^>
%input%
goto start
exit
Thanks, I actually made a quiz game with this a few years ago and wanted to make one again but forgot how to haha.
OMG the old youtube channel Layout. This feels so nostalgic
this is probably the only bat tutorial out there with commentary
Congrats, for me this video is well done and the way you teach is really clear!
When I heard you say "a long time ago, before I was born, there was DOS" I couldnt help but laugh cause that makes me feel way too old. And Im not even 30 yet :)
But it is true, in technology-development terms, thats a REALLY (really) long time ago. I used to "play" with it when I was 7. That was like the dark ages, or something, but at the time it was like "woooooow, dude..!". :)
Thanks, whenever I saw batch tutorials people said to have @echo off at the beginning of your code when it comes to batch files. Now I know :3
Yep. Why is it even on by default?
awesome video! thanks for taking the time to educate tech geeks like us! :D
I like how fast you talk.. seems like i'll save time learning so.. subscribed :)
I've been programming in batch for about a year now. If you ever need help with anything, such as for loops, setlocal Enabledelayedexpansion, nested for loops or nested if statements, I can help you. Just feel free to message me at anytime ^-^
2024 top notch tutorials
@1249mexico Yes your right. I normaly make 1 a week because it takes 6-7 hours to make them but these I could probly make 2-4 a week
You earned my sub. Thank you! 😎👍
My school hasn't blocked Cmd/Command Prompt, its quite funny because i go on "My" computer in Tech class and then i type in color 2, then tree, everyones like what the heck is that... flipping how do people not know this, there are so many batch videos and i bet even if your not a computer wiz like me and probably most fellow people watching this video, youve looked up how to make a game, thinking it's simple and you wanna be popular at school or something for it, well on youtube when you look up "How to make a game" probably within the top 10 videos will be a batch coding or how to make a game with notepad... It's amazing how many people don't know this.
hahaha............."back before I was born they had a thing called DOS"........aaaaaaaaaahahahahhaha
I can remember the revolutionary MS-DOS = Microsoft Disk Operating System!
I heard that and in an instant i was 300 years old ;-)
@@vladdigby165 and it really wasn't that great or revolutionary, despite how it felt when I was a kid. It was written by some college friend of Gates, Balmer, and Allen. They bought it for next to nothing from him and sold it to IBM pretending they wrote it.
Microsoft didn't really pull ahead of Apple until Windows 95. Hell, Windows was practically unusable until Windows 3.1 and people just used DOS because it was the only stable option.
But, nostalgia is a hell of a drug... I remember learning command line in 2nd grade just so I could play games in DOS. Games ran too slowly in Windows (^.^)
Not sure how you would play a game in 'DOS' you could boot a game along with other programs using DOS though. Well that is down to personal experience anyway hardware was a Commodore 64. Before that the Atari ? can you remember the model that you actually put Cassette tapes in and a game would load! No idea who or what the software was for that I would have only been 3 - 5 yrs old. I can remember a little chicking appearing and a loading bar while you waited for the game to 'boot' up. Would litrally take hours! A cassette tape though not a cartridge or anything like that just a cassette tape like the type music was packaged and sold on. (with a magnetic strip. Much like a small VHS tape.
"Back before I was born, they had these things called, 'phonographs' and that's what people did instead of watch television".
#BackBeforeIWasBorn
can you make more videos please? thank you
Thanks man! You are the one who got me into this!!!!
Into what?
In order to have a better understanding of this 8 clear well-explained tutotrials, I advise to watch before "Command Prompt Basics 1", "Command Prompt Basics 2" and "Command Prompt Basics 3". Why? Because any batch file can be written directly from cmd.exe and because system 32 has many useful comamnds to manipulate files. Enjoy both sets of lessons.
Ten years but still useful
You can also set /p BlaBla=
or set /p Name=
Thats actually something simple and nice :)
Nice, really helpfull. And do you think you could zoom? I'm watching on mobile
I took down my school’s internet for 3 days and then tried to install a Trojan but I was dumb so I gave up
programming and scripting are very similar.
I don't get 4:27. Press what again?
Mr technlolgycrayz i have a question about Batch file , Ilove coding and ryt now i start htlm.. May i know what batch file used for ... ?
remember i am a begginer
I just got killed “ a long time ago, before I was born, there was this thing called MSDOS”
😂
Awesome tutorial, man!!
it said that the server was down on the website,BTW in my secondary school (UK!) they block CMD but I had no idea about bat files so I will see if I can write bat files then make someones CUP shutdown!
Hey man I noticed that you dont upload anymore but you give hearts to recent comments. Will you ever upload again or not?
When i try to open the bat file to carry out the commands edited into it my windows 8 computer says, "This app cant run on your pc, to find a version for your pc check with software publisher. Is there a fix? Technologycrazy
can you please help me with
how to delete items from the outlook by using batch file
This has aged well Gold bro
My school blocked notepad, cmd and run years ago (around 2005-6). But they forgot about View Source in Internet Explorer. :p Low and behold, notepad became available, thusly cmd ran.
Yes you can install command prompt portable on a flash drive very easily. Google it.
No need to go to that link!
You can just open a notepad and type "start".
Then save it as a batch file (.bat) and run it.
im too lazy to do that so yeah lol xD
Thank you! I'll start working on my music program in no time!
when i write echo hi and i duble click on the note pad it says "to find a version of your pc, contact the software distributor" can i fix it?
The pastie is broken. Can you make a new link?
Well explained, nice calm voice, and in a moderate tempo. Nice work, I really hope you will get back to making tutorials again sometime. ..
*BUT*...!!
9:12 It looks like ScienceHideout has deleted all vid's(?)
- New usr.name..? or...just outdated..?
Thank you bro I’m trying to learn batch your the real one mate
you don't need to change file type.
just .bat or .cmd at the end
When I try to open my bat file it says This app cannot run on your PC (To find a version of your PC,check with software publisher) Help me, please.
I keep coming back :)
Good content.
UPDATE: I realize it is hard to see as I neglected to zoom in . Please set the quality to 1080p and go full screen. This is fixed in all the future episoides.
But me GPU can't handle 1080p. However, my internet can.
This is why I have Proffecional. You have full control of files
Nice I hope you continue this series!!
gui icons are a batch file.
I didn't get the part with net user where we can change the user. How do I change the user using cmd? i typed in Guest (space) start.
@Upspostal8945 @Upspostal8945 Yup next video I'll add zoom. I wrote out all the coding in the description
Maybe you can make a video about cmd itself and not bat files. You can make a tutorial abt cmd commands like cd and dir because that will be very useful in bat files
HELP!! in CMD on windows 8, when I type the command [net view] I get this message (no more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept) pls tell me how to fix this error 71 message!!
I'm on windows 10 and it won't let me open the .bat file with the message "This app can't be run on your PC: To find a version for your PC, check with the software publisher"? Any idea on what is happening?
3:32 Are you opening the cmd, how?
He made a batch file. then he opened the batch file
hello please i really do need help here
i have wriiten a little .bat program to generate random numbers and i now need the numbers i have generated to automatically run on my mobile device as a calling function but dont know how to go about it dont know if i could get some ideas here
what did you say 1:09
Hi, I am trying to follow the same steps, however I don't see any running as I am typing in the Notepad and clicking on the batch file I created. No cmds are running at all. Am I missing anything ?
good comment.
The CMD batch hack file link do not work
how did you make the shutdown other computers batch file. I know how to do it in CMD but i don't know how to do it without the window popping up ( shutdown -i window )
You got a new subscriber dude! Cool lessons!
Hello, i have a problem. i created my batch file when i clicking on the file, the file is not working. Can someone tell me what is the problem? please!
Omg you are one of the people who make a new comment to reply instead of clicking the handy "Reply" button.
Not only does my school NOT block cmd, it also makes all student account have administrative privalages, I know many ways that I could screw them over (Of course I don't, i just type "tree" in cmd so I look smart)
this video was posted on new years day in 2012
Technologycrazy. i sm realy interested in programming and i really wanna try using cmd as its my gui.
but this is your first lesson and i cant create batch file
am using windows 10
when i create the file and try to open it says
"This App Cant Run On Your PC "
"try to find version for your pc, check with software publisher"
and i dont know how to solve it
do you administrator right for you computer? Or you could try to get notepad++ and then create a new file a save it as a .bat There is no way that you cant run a batch file on your own computer
Come back to youtube!
timeout /t 2 /nobreak >nul
Your welcome.
as i start my windows..i have apache tomcat bat file pop up and then disappear automatically.Why did it happen?
so i found out that if you do
start %0
%0
it will open the command thing...
after basically DDoS-ing a few school computers by setting a few icons to internet explorer i now known as a hacker which made me want to find out more about batch files
*facedesk*