Saturday, March 27, 2010

WINDOWS-BATCH FILE

Windows batch file is nothing but a line by line collection of commands that are executed in command prompt.To create a batch file open the notepad and type the commands line by line and save as of type .bat.For example consider the following example
cd c:\\images
del a.gif
and save the file as example.bat.
When you double click the above created batch file a.gif in the images folder is deleted.

No comments:

Post a Comment