Added: 4 years ago
From: jimmyrcom
Views: 101,298
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (408)

Sign In or Sign Up now to post a comment!
  • Hey, I want to create a batch file that will open a specific excel file, how would i go about doing this? thanks!

  • @epicnerd905 When you go to save something click "save as" and choose the location you want to save it, give it a name (ex: random) and put ".bat" after it to save as a batch file (ex: random.bat)

  • How do I save something as a batch file!?

  • @epicnerd905 save it as whatever.bat

  • the ff7 one isuseful for switching disk

  • When I click on a .bat / batch file it says its not found. PLEASE HELP! NO ONE KNOWS WHAT TO DO!!

  • thanks you are a life saver dude

  • /watch?v=-_NleTGYE24

    That's a non-outdated tutorial that works better. Thumbs up so the people whining about this being out dating can end their stupidity. xD

  • php is not a programming language... It's scripting language

  • can u open html files

  • when i open a bat it closes instantly help

  • It may be possible to move the file to a different location and see if it runs though

  • Too bad this tutorial will not work on windows 7 because bat files don't handle spaces very well because a space will end the command there so C:\Program Files (x86)\Mozilla Firefox\firefox.exe would be read as C:\Program, and the bat will display an error message. You would think that oh u can change the name of the files right? no, windows 7 does not allow you to rename specific files such as the program ones. if there is another way to do this on 7 please tell me because i do not know how to.

  • people need help!! =( i batched a small file- but now cmd allways says after writting something that @echo is off

    it spoils the batch so i wanted to know how to make it go away?

  • @kenzan4 at the beginning of the notepad document, you need to write @echo off and then before you type a line, always write echo first

  • @ShlapadonkeyStudios

    >.> ehmm.. i have it done..

    the problem is since i made my batch file to big- it started saying above each sentence " echo is turned off" or something like that

  • 3:04 here's firefu- FireFox.

    XD

  • haha thanks i just want to scare the crap out of my dad!

  • I heard this was illegal now to send bat. files over the internet

  • @MrClockWK Only if they contain malicious content that will harm the computer its sent to

  • Nice vid man you're a really good programmer!

  • i have a problem... when i opena game and wait some seconds it get into it but about a second later it non respons and closes.. you know why?

  • why dose bt. files don't work on my pc ? :(

  • i hear your lectures u r good

    is there any anti virus for off line computers,

    can u tell me about task manager completely comprehensively

    i m from backward area and want to ducate people in local language

    im making research on sociology and not computer expert.if u clear things more simply i understand good

    i have heard many people but they dont clear things well

    please reply my coment

  • @theWaqasmushtaq

    Youre from Pakistan, very good.

    Antivirus works regardless of the computer being on or offline. However, computers can only pick up viruses from other systems, so computers offline are not in danger.

  • Comment removed

  • Comment removed

  • @theWaqasmushtaq

    Task manager shows me the programs that are running, and displays a list of all the things the computer is thinking about. Computers have a limited amount of memory, and in task manager you can see how much of that memory every "task" is using.

    For example: Right now, task manager is telling me Youtube is using 82,124K of memory. Youtube is just 1 of 62 tasks my computer is thinking about.

  • thx a lot haha

  • Awesome, batch files are just awesome

  • sweet baby jesus........ subscribed

  • i love bat files, so easy to code them

  • what firefox theme is that?

  • @Pwnapple123 whitehart theme.

  • :loop

    Start firefox.exe

    Goto loop

    Name it "Firefox", change the icon to the firefox icon, leave it on someones desktop and hide the real file. Then watch as the madness ensues.

  • This is awesome,Thanks.

  • Why do u say CC-Cleaner? Its C-Cleaner.

  • @hey

  • @ShutUp

  • I made a cool batch too. The code is below: @echo off title website opener cls :A echo . echo . echo . set /p input=enter website here If %input%==%input% goto web :web start firefox.exe "%input%" exit This will open the website you type in firefox.
  • how do you make sure the websites are in different tabs and what is the command line property u mentioned

  • I'm going to a school after the summer vacation where we're learning about this stuff and something called C++.. By the look of this video i can already see that this is what i want to learn :)

    Scripting and such is very facinating although i at this point don't know anything about it. I only know how to create surden Batch files that run programs and such

  • For easier to understand batch tutorials, view my simple, helpful videos. Trust me.

  • hey im dan i am very experienced in batch files and have a good understanding in them i have been very bored lately and would like a project to work on, is there ANYONE that needs help with any batch files? if so, message me. Thank You

  • @you1tube2pro3 ok then, can you make a batch file that can go into game and edit its values? example: If i got a game, and got 12 money in it, i just type 12 in batch file program, and then edit it to 1000 so i get 1000 money at that game? :) idk if its possible

  • @FunnyBatTutorials no not possible with a batch file, download cheat engine this is more or less exactly what you described :)

  • yo, check out my profile for a batch file that can copy vids, audio, docs, presentations, executables, spread sheets, batch files, pdf's or all of the above to A USB flash drive. it can also open a port scanner and a working porxy list and save the targets ip and other important computer information to a flash drive

  • :@echo off title Batch file maker '10 echo Welcome to the batch file maker '10. echo Please press a button to start typing what your batchfile should say... pause >nul cls set /p text= pause >nul md Bfile cd Bfile >>Yourbatfile.bat ECHO @echo off >>Yourbatfile.bat ECHO title Made by batchmaker '10 >>Yourbatfile.bat ECHO echo %text% >>Yourbatfile.bat ECHO pause (This makes batchfiles by only typing texts without codes! _Made by myself_
  • @franshuntink Nice it works

  • It's CCleaner not CCCleaner.

    pronounced 'see-kleener'

  • OMG a batch file that makes a heart!!! so simple, must be a windows easter egg

    Here it is:

    %0|%0

  • @Anzuo Lol

  • @All4GayUSA lol!, you welcome :)

  • @All4GayUSA You should be able to look up BASH Scripting, which is a UNIX scripting and do those within Terminal in Mac OS X, unless by saying "MAC" in capitals you mean a MAC Address, well then there is none. Also do you not see the title "...Windows Batch Files..."

  • Freaking amazing TY..

  • some of these don't really work... it might be that you have a different windows... well i have xp and it looked like you have xp so... idk what im doing wrong :(

  • @All4GayUSA well... mac sucks so much why waste time with it? XD

  • I gotta question ....what command you use instead of C:\ if his windows not installed in the C;\ drive??plz help

  • @ANDYzcoolVIDEOS typically, windows is installed on the C: drive. but if you have windows installed on a different drive with a different letter OTHER than C: just replace the drive letter, like this. F:\ or D:\ or anything. i hope that clears stuff up for u

  • Jimmy you are a cool dude. Thanks.

  • Bravo Bravo you r the maestro

  • i have a file on a network, to acess the file i go to start run type the ip eg 126.

    162.0.1 here i fine the folder i want

    how do i creat a batch file for this

    kindly advise

  • it is very tongue-tied, scared to listen to his

  • how do you auto-select like with notepad in cmd?

  • ty i thought batch files were viruses

  • @bugoy111 in some cases they are..

  • @c4ndy4ss theres a difference between just deleting a file that crashes your computer and something that spreads

  • Ye. Batch viruses is super fun:D

  • these thing want work

    i could get them to work but i needed to make so many changes in the code

    for example to open winamp you need to put this code in the batch file:

    cd..

    cd..

    cd C:\Program Files\Winamp

    start winamp.exe

    for the 3. row yuo need to put the path where the winamp folder is.

  • @savkekg there is no need for cd ..

  • @youngdeveloperscentr Yes there is so you can go back a dir not just in a batch file but in cmd as well

  • Hello world... wait thats from a dodgey site tutorial of the same thing!

  • none of these work these for me.... my mom found out i was an admistrator.. im now limited acc... does that change anything?

  • I'm a limited account, but most of the commands still work on my account.

  • changes a lot, just make urself admin again

  • cool stuff man

  • how would you make a picture file open using batch?

  • you know a lot about bats obviously

    what does "%0|%0" in a bat file do?

  • A syntax error

  • can i link your tutorial into my Bat Creator Programm at the tutorial zone ?

  • here a usefull one :A title .:: task manager2 ::. cls @echo off TASKLIST PAUSE cls set/p pop=file to be stopped: echo are you sure? PAUSE taskkill /f /t /im %pop% PAUSE goto A
  • How to kill your PC :

    1) Create a .txt file

    2) Enter start C:\???.bat

    3) Rename the .txt file to ???.bat

    4) Put the .bat file in C:\

    5) Double-click on the .bat file

    6) ???

    7) Profit !

  • Open Editor. Type: form C:\

    save it as a | .bat | file and open!

    Cool trick.

  • format C:\? LOL

  • i just typed in start audacity saved as .bat an it worked

  • is audacity in your c:\ folder?

  • thanks!

  • how to make the window of .bat stay pls tell me couse i open the file "something".bat then it all happends but the window closes :'( tell me pls

  • it's like @pause or some shit at the end.

  • Right click the .bat file. Click "edit". Go down to the very end. Make a new line. Type in Pause. Thats it. So.. for an example..

    @Echo off

    @Title Test

    Color 0B

    Echo Hey!

    Echo Whats Up?

    Echo This is just a test!

    Pause

  • edit and at the ending BEFORE exit write pause

  • wanna see a trojan boomer in action watch this vid and comment :P

  • when i do .bat at the end nothin happens?!?!?

  • does it stays in .txt? then you should go to control panel > map options > uncheck: Extensions for blablabla filetype...

    then you should see the extention of the file (.doc, .docx, .bat, .txt) if you change the filetype in .bat, then you'll get .bat file...

    you also can open notepad: save as > all typefile > name your file "aname.bat" without the quotes ... :D

  • Read the description dillweed.

  • it is impossible where is batch file

  • what version of firefox is this?

  • Actually .. that program is called C Cleaner (one C) .. not CC Cleaner :P

    I wonder how many ppl read that the same way you did (I did the same :P)

  • God I love this! You could make some nice pranks with this.

  • love Bat File scripting...

  • So do i :P

  • same here, i made a virtual buddy chatroom

  • @friik100

    But it's gay

  • @pufixas nah,

  • @friik100

    meh...

  • @friik100 Sos Friki?

  • i saw tortise svn in there, u play any steam games, garrys mod perhaps?

  • @echo off

    start Paint

    try this it makes the command prompt go hay wire lol 157 windows will open

  • if the batch file itself is called "pain.bat", it will start itself. bad idea. :P

  • @echo off

    echo go fk ur self

    pause >nul

    XD dont spam this pls lol

  • using start, it is only necessary to give the complete path to the program from the C: directory.

    I was watching several of the Berkley tutorials, but they stopped after they were half way through. Is there a way to play very long videos?

    I absolutely love all of your videos, especially the ones where you install a server [localhost] and use PHP and MYSQL.

    Your knowledge goes very deep. Thanks for sharing it with the world!!!!

  • PowerShell

  • thanks

  • i have a game that was made up of lots of files that needed to be extracted from a dic. after i had extracted them my friend told me that i needed to open it with ms.dos. but when i go tino properties-open with- there is no ms dos. how the hell DO I OPEN IT AND PLAY THE FUKING GAME!?!!?!?!?

  • @echo off

    start notepad

    start notepad

    you can type any programm from your computer and windos open it for you. :)

  • thanks.

  • We could just as easily replace all those start commands in the begining of this video with "FOR" commands, and DOS is also known as shell scripting not just bash for linux, windows says the same... anyways good video and for running multiple commands of the same syntax on one line

    Maybe something like...

    FOR %X IN ("VIRTUALDUB" "CCLEANER" "CALC") DO %X

    Would output the same as:

    START...

    START...

    START...

  • Matrix Effect

    open your notepad and type:

    color 0a

    :start

    echo 1111111111

    echo 2222222222

    @echo off

    goto start

    and save file as matrix.bat

  • Check out my response for my Batch Editing Program!!!!

  • Can everybody help me ? i got a problem that i cant open the .bat files in my computer...can u check my video for any suggestions? :(

  • How the hell did you get into the camera at the end?

  • Are you a youtubr partner??

  • lol dont you all love how when you get right down to the os ms-dos is the exact same as a vary pretty windows vista. the only difference is memory and a shit load of aps and a name change to cmd.

    dont get me wrong im a HUGE microsoft fan boy just pointing out the obvious.

  • Probably an easy fix for all the idiots who can't get their head around the Folder Options thing would be:

    In the Save As menu, change the "Save As Type" to "All Files (*.*)". Then, enter in your filename like this: "filename.bat". Hit save, and next time, read the video description.

  • thank you, pretty useful!

  • How did u do the php.bat thingy

  • OMG this is so awesome :)

  • this guy is dope

  • Why are you arguing about that CCleaner? :S

  • Is it the same for Windows vista ?

  • Yeah I would say so :) maybe some things are diffrent but I've done loads of batch files on both.

  • Hey can u make a batch file open a folder?

  • I can help you at monday! :)

  • It's CCleaner, jimmy, not CCCleaner ;P

    Great vid, though!

  • c c leaner

  • ..?

    The "C" in CCleaner stands for "Crap", 'cause the original name was "CrapCleaner", but they changed t to CCleaner.

    Not c c leaner...

  • i know its not c c leaner i was just being dumb

    but i didnt know the crap cleaner thing

  • he said ccleaner...not cccleaner

  • No, he said (prounouncement by pronouncement) "C" "C" Cleaner"

    Just listen!

  • Great tutorial! I wish Jimmy R. came back

  • lol if you go to windows look for screen savers tell note pad to open it and loop and it freeses on the screen saver :D

  • name a bat file lol.bat and put in the command line

    start lol.bat

    and see what happens :P

  • OH i did that! it was hilarius

    but mine was

    :A

    start lol.bat

    start calc.exe

    start notepad.exe

    start mspaint.exe

    goto A

    idk why i looped it but my computer crashed it was HILARIUS!!!

  • its really cool ...........

  • you dont need to type

    c:prog`mozilla firefox\

    start firefox.exe

    you can just type

    start firefox.exe

    you save about 10 sek ;)

  • Hey i have a question,

    when i do echo (text here) a box comes up with the text, but goes away really fast, how can i make the box stay ?

  • pause.

  • or

    Ping localhost -n x > nul

    where x is a number.

    the higher the number for x, the longer the text stays

  • whats that icon after each website at 3:38 plz tell em!!!

  • |||||||||||||

    Shift forward slash

  • coo|

  • Hey.. s it possible to make an automation batch file.. Say when my Pc detects i have inserted a cf card it auto downloads the pictures to a set folder and loads them up in a program such as Adobe light room or photoshop???

  • hey jimmyrcrom im tryin 2 make my own server(maplestory) and i need 2 find out where i download my first batch file and where 2 excute it and do the same for the second the thing is i cant find it and dont even know i had it can u tell me where is a batch suppose 2 be when u first downloaded it onto ur comp? i check my computer control panel google everywhere!!!! pls respond as quickly as possible thanks!

  • I was wondering how to get a batch file to copy a file into the c: directory from a flash drive?

    plz help me

  • just use the copy dos command

  • hey can u tell me where is ur first batch file when u first downloaded it on 2 ur comp??

  • i cant open a .bat file when i rename it to Text.bat it still opents a notepad file can u help me

  • and batch files are better when you convert it to .exe !

  • you can't compile batch scripts, they're not a programming language.

  • are MS-DOS BATCH files bad?

  • no they are fine, i have made 15 batch files overall n the matrix one is so cool, search it on here, the vid above is good too

  • nice!! thanks for the tutorial.

  • so this is where all viruses come from :D

  • is typing "REM" the same as "echo" ?

  • To virindi73, typing REM is not the same as typing ECHO. REM is only a remark for the person reading or trying to edit the script, it does not show up when you run the file. ECHO displays the text that comes after it.

    Hope that helps.

  • also how do i open a bat file with someone besides notepad...

    i cant really figure out how to make a hyperlink or anything on the notepad, and in the video you are using something else whats thatt program called?

  • could you give me the link to get those lesson files

    berekly or whatever?

  • lawl i'm editing a virus to make it delete my unwanted programs lawl

  • Thanks this really helped

    me I was not getting how to do use batch files

    lintel i watched this

  • the script opening multiple web sites at the same time is not working for me. I think it's the "|" (vertical bar) that creates the problem because it becomes ":" in command line. any thoughts?

  • Sorry, but AppleScript is something which is 10 times more powerful than Batch file. AppleScript can interact with program functionalities, batch files can run only command-line commands and executable files. AppleScript is similar to Windows Scripting Host but is much more easier. OS X also has Shell scripts (OS X is based on UNIX so we have bash too)

  • did u use notepad to write the script?

  • yea thats wat u use

  • Or notepad ++

  • I have a problem with my batch files, well not really a problem but a question. jimmy , when you open ur bat files or when u said "take a peek into it" i dont have that program that has the lines and everything what is that program? thx

  • nvm i saw note tab pro =/

  • can somebody help me, i have been working with batch files for a long time now, and im doing a project, and i was wondering, how can i make a msg window at the begining of the batch file, that would ask me for a password?, now i know how to make a msg but in doesn't work like that, send a msg please.

  • hey i dont think any of this stuff works on vista, oh well