How to Write a Simple Batch File in Windows

  Рет қаралды 220,067

MakeUseOf

MakeUseOf

Күн бұрын

Пікірлер: 103
@nickcass3537
@nickcass3537 5 жыл бұрын
This quick tutorial landed me a job. So thank you my dude
@flipndip5122
@flipndip5122 4 жыл бұрын
how does that even make sense lol
@alexander-jl6cs
@alexander-jl6cs 4 жыл бұрын
How? Tell me please,
@portaldud344
@portaldud344 4 жыл бұрын
xD this quick tutorial landed me 2 cents from 4 of my friends...
@flipndip5122
@flipndip5122 4 жыл бұрын
@@portaldud344 Got em'
@amano2961
@amano2961 2 жыл бұрын
@@flipndip5122 Ad* lol
@ValmisFilm
@ValmisFilm 2 жыл бұрын
2:41 OMG! This folder organizer literally changed my life today! THANK YOU! Anyone must have this! This is a game-changer! :) WOW! Glad I found this video!
@harrazmasri2805
@harrazmasri2805 4 жыл бұрын
duuuuuuuude thaaaaank youuuuuu, whenever in class i can start multiple programs in the same time and being the most effective user in class
@sheraixy
@sheraixy 4 жыл бұрын
I would really like to learn, how to write this folder sorting file. Just to copy some strange text, don’t help to learn it correctly...
@calebgultig8895
@calebgultig8895 4 жыл бұрын
This video has shown me the light my word. I would love to find out how to download content from the web like this? I have a database I regularly look at and want to download it every day.
@HowdyMyDudes
@HowdyMyDudes 4 жыл бұрын
I shall use this as a new way to Rick Roll
@NC-un7tr
@NC-un7tr 5 жыл бұрын
Hi, can you demo creating batch file for running sql scripts? thank you.
@fisherman7633
@fisherman7633 4 жыл бұрын
Hi. Can you zoom in on the windows? It's too small to read even when in fullscreen. I'm new to batch files. Thanks.
@SquirrelTheorist
@SquirrelTheorist 3 жыл бұрын
I don't know if this will help, but CTRL + mousewheel scrollup increases the console font size.
@user-hh4hc2lt6e
@user-hh4hc2lt6e Жыл бұрын
best batch file video. now i can actually get to batching lol
@reloader9114
@reloader9114 4 жыл бұрын
How have I lived so long without learning how to write batch files. I want to open a program called vidcoder and I want to import all vidro files over a certain size in to that program to convert to a smaller size is that something that batch files can do.
@SquirrelTheorist
@SquirrelTheorist 3 жыл бұрын
maybe with ffmpeg?
@YoutuberChannelNL
@YoutuberChannelNL 5 жыл бұрын
Great tutorial!
@ning_nang
@ning_nang 2 жыл бұрын
I have a problem where if I put my computer to sleep, my Bluetooth driver fails. I want to make a program that will automatically reinstall the drivers when it fails. Would I go about this using a batch file?
@dustonmeyer3770
@dustonmeyer3770 Жыл бұрын
I have a script on copying files from 1 folder to a new folder. How do i write a script to have it randomly select 25 files from the folder I copied all the files to and have it create and move into a new folder until all the files have been moved. I have 3000 pictures in a folder and I want it to randomly move 25 files into 120 new folders with just 1 click. Then have it loop so it repeats the process multiple times. Thanks for all your information and help :}
@mys1gnature
@mys1gnature 3 жыл бұрын
Simple and nicely explained. Thanks
@SnappyScience
@SnappyScience 4 жыл бұрын
This was perfect. Thank you!
@tusharraj8887
@tusharraj8887 5 жыл бұрын
can makefile be implemented using batch files, if yes please tell how?
@that1guyV2
@that1guyV2 3 жыл бұрын
ikr
@eliosaleh9492
@eliosaleh9492 5 жыл бұрын
how can I batch an address, not to a website but execute an action (open apps at the same time)? should I change the script in my notepad or what should i do ?
@laurentvilay3349
@laurentvilay3349 Жыл бұрын
hello, very interesting video, is it possible to launch an ".exe" then press any keyboard key ? with a command line ?
@BloxC0r
@BloxC0r 2 жыл бұрын
ur a legend bro thank you very much
@benedettap.4407
@benedettap.4407 8 ай бұрын
Can I execute a batch file on Windows from the command prompt? If yes, how?
@seagull2204
@seagull2204 4 жыл бұрын
The Command Prompt doesn't close automatically after I run my batch file. How can I make it do that?
@shrutimishra9946
@shrutimishra9946 5 жыл бұрын
How to create a batch file which can open my notepad for 10 minutes and close it after 10 minutes. Can you please tell this?
@chadzulu4328
@chadzulu4328 2 жыл бұрын
Thanks for the clear explanation!
@DCCXIII
@DCCXIII 5 жыл бұрын
i am looking to create a batch file that will locate and convert all TIFFs files in a folder and its sub-folders (most are multi-page tiff so action wizard in adobe does not work) and save the PDF as the same name as the TIFF in the same directory the tiff was in originally. Is this possible?
@malzbiervonaldi
@malzbiervonaldi 7 жыл бұрын
Opening multiple tabs with a batch file seems appealing, sadly I can only manage to open multiple windows. Any idea on how to fix that? I'm using Firefox and Internet Explorer (for work)
@DodgyBrothersEngineering
@DodgyBrothersEngineering 7 жыл бұрын
lol. I don't know why they didn't just include the other code to write the virus.
@desmondnel5706
@desmondnel5706 Жыл бұрын
Awesome tutorial
@kingtvcoimbatore
@kingtvcoimbatore 4 жыл бұрын
how to rename batch file extention i have varities of file extention i want to change some new extetion is there any codeing is there
@t69drummer
@t69drummer 4 жыл бұрын
I'm looking to add 10 windows certificate files to the Trusted Root Store. Do you have a sample script of how to do this with a Batch File?
@robertwolfiii8711
@robertwolfiii8711 2 жыл бұрын
What do you want a batch to do. Thanks MS.
@q12x
@q12x 4 жыл бұрын
very good tutorial !
@vex2085
@vex2085 3 жыл бұрын
How to make automate putting pictures into folders by days?
@shawnmofid7131
@shawnmofid7131 4 жыл бұрын
I want to convert the image files from jpeg and other types to webp. I have the webp converter in a /bin folder. Can you give me some idea of how I can do this?
@vargheseeralil8346
@vargheseeralil8346 2 жыл бұрын
I need to run a command prompt script every 15 mins. I don’t want to do this manually. But basically need the same lines of code to execute periodically and endlessly. Any suggestions?
@MakeUseOf
@MakeUseOf 2 жыл бұрын
Create the batch file first, then use task scheduler: www.makeuseof.com/tag/how-to-automate-windows-programs-on-a-schedule/
@YoIntangible
@YoIntangible 3 жыл бұрын
Could i use something like this inside of an program language like C#
@braccus69
@braccus69 4 жыл бұрын
Can a batch file be written that can auto re name the file extension from multiple .txt files in a folder into .xls files?
@yousifghaly6484
@yousifghaly6484 4 жыл бұрын
how can I start any software for example: steam or epic and add specific user and password and login by batch file script, please help its important for me!! thanks
@nazawizard9293
@nazawizard9293 3 жыл бұрын
hello, i need to do a simple task in arma 3 sometimes the servers does not appear , so we put in a cmd ping (ip) how do i do to create a .bat that do instantly this task , cause with @echo off start ping (ip) it opens an extra cmd , that holds itself opend and the other one that close i need it to stay opend and to make the pink in the cmd opend with start for other porpouses it'll help a lot :D
@MKataokaF
@MKataokaF 5 жыл бұрын
May I have a copy of the last file you showed in your video?
@NoxiousGrenade
@NoxiousGrenade 4 жыл бұрын
Is it possible to gain access to the system clock and boot, sleep and shut down the computer?
@MakeUseOf
@MakeUseOf 4 жыл бұрын
With powershell you can, yes: superuser.com/questions/814762/run-a-command-in-a-batch-file-on-the-system-clock
@ingenieroagus
@ingenieroagus 7 жыл бұрын
How do you set your Windows headers to black?
@aarijzafeer
@aarijzafeer 2 жыл бұрын
Where can I learn to code batch files
@hyggerrr926
@hyggerrr926 4 жыл бұрын
can i make my computer say something and then execute a different command. (like shutting down the computer)
@MakeUseOf
@MakeUseOf 4 жыл бұрын
Do you mean literally to speak something? If so, there are a few ways listed here: superuser.com/questions/223913/os-x-say-command-for-windows
@arthurcharlesegan4455
@arthurcharlesegan4455 4 жыл бұрын
looking to create a batch file to setup a backup can you help?
@Books_elenmpa
@Books_elenmpa 5 жыл бұрын
How can run the bat file from cmd?
@MakeUseOf
@MakeUseOf 5 жыл бұрын
you just type the name of the .BAT file. If you're in a different directory, type the relative or absolute path.
@louischristians9735
@louischristians9735 4 жыл бұрын
The Batchfile is stuck in a loop. how can i stop this?
@MakeUseOf
@MakeUseOf 4 жыл бұрын
CTRL-C should do it, I think
@louischristians9735
@louischristians9735 4 жыл бұрын
@@MakeUseOf what should i copy? And where?
@MakeUseOf
@MakeUseOf 4 жыл бұрын
Oh wait, I'm thinking of when something is running in a command prompt. If it's not started from the command prompt, you'll need to CTRL-ALT-DEL,, task manager, find the running process and force stop it
@louischristians9735
@louischristians9735 4 жыл бұрын
I have a comand calles "shutdown -s -t 7200" for shutting my PC down in 2h but its sending it over in over again in the CMD
@moonwalk6803
@moonwalk6803 Жыл бұрын
i play a emulator called daphne that play laser disk games on pc how to make one game into a bat file
@DeltaWolf2238
@DeltaWolf2238 7 жыл бұрын
How can I make a Message Box in Batch File?
@vickygardiner3375
@vickygardiner3375 6 жыл бұрын
use a VBS instead
@bluecatdk
@bluecatdk 6 жыл бұрын
msg * hi@@vickygardiner3375
@vickygardiner3375
@vickygardiner3375 6 жыл бұрын
MessageBox.Show("This Is A Test","Test Text")
@karthikkperla90
@karthikkperla90 3 жыл бұрын
Hi I am trying to open FTP using bat file "start \\xxxxxx\d$" It's asking for Windows Username and Password Is there any way to Automate this ?
@visij
@visij 5 жыл бұрын
Thanks!!
@LearnigLeekSoup
@LearnigLeekSoup 5 жыл бұрын
Thanks!! :)
@acatisfinetoo3018
@acatisfinetoo3018 5 жыл бұрын
Doesn't your antivirus block batch files?
@yousufmohammed6994
@yousufmohammed6994 3 жыл бұрын
No
@alexandrameas4436
@alexandrameas4436 4 жыл бұрын
Thank you!
@MrConteledracula
@MrConteledracula 6 жыл бұрын
NICE BRO NICE AND THX !!!
@joepeeer4830
@joepeeer4830 5 жыл бұрын
mega kewl...ty
@ramakantgaikwad5965
@ramakantgaikwad5965 6 жыл бұрын
I TRIED TO CREATE BATCH FILE USING COMMAND xyz.bat , BUT IT DOES NOT WORK. IS THERE ANY CHANGES REQUIRED IN THE PC TO CREATE BATCH FILE ?
@gatsFPS
@gatsFPS 6 жыл бұрын
go to folder options and check the "hide known extensions" if it's checked.
@lambdastudios4083
@lambdastudios4083 6 жыл бұрын
I did this and It didn't work. It just saved as a txt. serverstart.bat.txt
@justinzijlstra7919
@justinzijlstra7919 5 жыл бұрын
can you "save as type:" and look for .bat?
@lambdastudios4083
@lambdastudios4083 5 жыл бұрын
Justin Zijlstra I eventually got this to work. No idea how but it did.
@md.hasinabrar5750
@md.hasinabrar5750 4 жыл бұрын
how to make bat file for neoragex emulator
@fargotech9818
@fargotech9818 4 жыл бұрын
OMG NOW I CAN MAKE FULLY PROTECTED LOADER
@phinehaszheng5602
@phinehaszheng5602 4 жыл бұрын
Life saver
@robertwolfiii8711
@robertwolfiii8711 2 жыл бұрын
Do you know how to use a note pad
@vinodkumarj5177
@vinodkumarj5177 4 жыл бұрын
how to create a folderpassword.txt?
@JPATCH677
@JPATCH677 4 жыл бұрын
This is gon be used for my minecraft server
@that1guyV2
@that1guyV2 3 жыл бұрын
i found none of these very useful except for organiser
@ST-hm1uz
@ST-hm1uz 6 жыл бұрын
Would've been better if everything was done through cmd.
@DodgyBrothersEngineering
@DodgyBrothersEngineering 7 жыл бұрын
Your batch file is more like a script than a batch file.
@detokyo7985
@detokyo7985 2 жыл бұрын
I ran a nuke script that would delete everything inside the folder it was in and so I saved it in my desktop... and I accidentally opened it and now I have a blank slate and an empty meme folder...so yeah batch files were a mistake for me to research Edit: Oh lord I told someone to delete their temp files to clear space right after I lost all my desktop but he went to the previous file (the hard drive) and deleted everything thinking it was the temp file... please I just hope he's joking because I just had the worst night of my life.
@MakeUseOf
@MakeUseOf 2 жыл бұрын
With great power comes great responsibility!
@detokyo7985
@detokyo7985 2 жыл бұрын
@@MakeUseOf My uncle died from Corona 3 months ago you bastard
@kingjits
@kingjits 7 жыл бұрын
👍
@yogendrakumar787
@yogendrakumar787 4 жыл бұрын
Ahhh this windows 21 i think
@XSpImmaLion
@XSpImmaLion 7 жыл бұрын
What is this, 1993? xD autoexec.bat, config.sys, Doom.
@robertwolfiii8711
@robertwolfiii8711 2 жыл бұрын
To rich for my blood man
@aushennesey9588
@aushennesey9588 7 жыл бұрын
3rd
@Dev-45
@Dev-45 Жыл бұрын
Thank you!
Windows Tricks With Scripts
6:15
CHM Tech
Рет қаралды 880 М.
How to Create a Batch (.bat) File in Windows
5:02
Websplaining
Рет қаралды 183 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Batch Programing: Lesson 4 (How to Copy,Move and Rename files + MORE)
6:55
40 Windows Commands you NEED to know (in 10 Minutes)
10:54
NetworkChuck
Рет қаралды 3,6 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 250 М.
15 Command Prompt Secrets and Tricks in Windows
12:46
ThioJoe
Рет қаралды 1,6 МЛН
Introduction to Batch Files
10:30
Nerd's Best Advice
Рет қаралды 27 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН