• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Why Batch Files?

While Windows Script Host is a powerful scripting and programming environment, the old-fashioned batch file can still be a useful, powerful tool in the Windows XP environment. Why? Whereas Windows Script Host programs use objects as tools to perform Windows management and data-processing tasks, batch files use entire programs as their tools. WSH scripts give you great control of the details of a task, whereas batch files let you work at a grosser, macro level. So, just as it's an advantage to have both small and large wrenches in your toolbox, it's an advantage to know how to write both scripts and batch files. Furthermore, like Windows Script programs, batch files serve as a form of documentation, because they capture critical business management information—procedures and configuration data—in written form.

In my work as both a software developer and writer, I've found that the batch files I write fall into three categories:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint