Friday, 25 March 2011

Automatically back up your hard drive, delete temp files, and backup a Web site using batch scripting

Batch scripting is a powerful aspect of Windows. If you are unaware, batch scripts are files that are executed by the Command Prompt. In theory, every task that you can complete in Windows using a GUI can be completed using a batch script. This tutorial is an introduction to batch scripting in Windows Vista that will show you how to automatically back up your hard drive and delete your temp files without installing extra software. Additionally, this tutorial will show you how to backup a Web site using Wget and a batch script.

What is Batch Scripting?

Firstly, as an introduction to batch scripting, create a sample batch file, open Notepad (Start >> All Programs >> Accessories >> Notepad) and save the file as hello.bat onto your desktop. On the first line of the file, type echo "hello" on the second line of the file type echo "the end" and resave your batch file. It should look like the following:

Seja o primeiro a comentar

Post a Comment

Related Posts Plugin for WordPress, Blogger...

  ©Hacking 4teach - Todos os direitos reservados.

Template by Dicas Blogger | Topo