[Music Playing]
This video tutorial is brought to you by JimmyR.com, the best in the internet. I will be showing you the Power Windows Batch Files. Windows batch files basically automate pass so you can do several things just by double clicking one file. And, do not get discourage if I say on windows because MAC has the same functionality to set is called Apple Script, and Linux has the same thing except this called the Shell, or Bash Scripting. So, if you have another operating, do not worry.
But, let me show you what it does first, so you can get an idea of how it is useful. This batch file opens virtual about Calculator and CC Cleaner just by double clicking this one file. So, you had open CC Cleaner, it would open virtual about which I add it in my movies with and open the windows Calculator. So, you can open as many programs as you want at the double click, just by double clicking this file.
And, the code is really simple, if I can pick in the batch files, all it says, it start windows calculator start CC Cleaner and start virtual dub. So the code is really simple and it is just the text file, I do not have to compile anything. The next way I can use it is for programming, I am going to double click php.bat and it is going to open my compiler, it is going to be in the php directory and it is going to give me a temporary php file automatically.
And, I can just headed this file, I can say Edit, I mean Echo “Hello, world!” Wait the minute, YouTube, hello YouTube. And I just click control as to save and I am going to save php tempt.php and it is going to echo “Hello world YouTube!” So you can do this for any compiler, you can use G68 or anything. But, it will put you where you need to be, and it will open maybe temporary files with the helpful commands at the bottom or something.
So you can make it do whatever you want pretty much. Here is another example; this one opens finally FF7.bat with the ePSXe, a play station simulator. See if it opens ePSXe, and it even has a little pack at that cheater so I can use the Game Shark codes. I am not going to way for its load because it is going to take well. This is another one, this mounts virtual CD’s on my drives, I was going to double click it and if you can see here it is mounting the virtual CD’s. There was no CD’s here before and then I mounted them.
So, instead of going to Daemon tools and right clicking, mounting that your alcohol and actually having to find the ISO, mount it from the ISO, and mount it. You can mount all the CD’s at once using command line tools. Here is one last example before I get to explaining, the basics. Here is Firefox, I double click Firefox and it is going to open MySpace, it is going to open Google and it is going to open JimmyR.com. So, you can even start work pages, you want Firefox to start with.
I am going to close it again, and open it again so you will see that it was not there already, it is really, really simple. Let me give you a peek inside this Firefox thing, always it says at start Firefox, Firefox that execute here. And, I give to command line property www.myspace.com, and then google.com and then jimmyr.com. And I could go on with list www.dig.com or something like that. That I can basically open multiple sites, this is useful if let us say—the first thing you do when you get on the internet is check your MySpace, check your Email, and you could say Gmail or something and then check your YouTube comments. So again this is really, really useful stuff and it is actually really simple to make. Windows batch files are pretty much dust, so if I go to Start, Run and I enter Dos Command, I can pretty much put it in my batch file, SNDRAC 32 opens up sound recorder. So if I type this in the Run prompt, then click OK, it is going to open windows sound recorder.
Let us try to make a batch file that opens windows sound recorder?
Transcription by:
Scribe4you Transcription Services