woolz.blogg.se

Batch batch read file into variable
Batch batch read file into variable




batch batch read file into variable

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. WSH scripts give you great control of the details of a task, whereas batch files let you work at a grosser, macro level. 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. 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. You should be familiar with the material in Chapter 11, "The CMD Command-Line Environment," before starting this chapter.Like scripts, batch files can serve as documentation of critical business procedures.The batch file language in Windows XP is greatly improved over the DOS/Win9x version.Batch files let you automate repetitive tasks and create nifty command shortcuts.






Batch batch read file into variable