Chapter SUNDAY AFTERNOON. Learning How to Use JScript and the WSH

[ LiB ]

Chapter SUNDAY AFTERNOON. Learning How to Use JScript and the WSH

  • The objects that make up the WSH core object model

  • JScript's runtime objects

  • How to access the Windows file system and examine disk and file properties

  • How to create report and log files

  • How to create JScripts that perform file and folder administration tasks

Okay, it's time to switch directions a bit. Starting this afternoon and going through the rest of the evening, this book will focus exclusively on how to use what you have already learned in order to teach you how to work with JScript and the WSH. As you will see this afternoon, you already know how to program using JScript; all that you need to do is learn how to work with the WSH object model.

By accessing and manipulating WSH objects, your JScripts will be able to automate all sorts of Windows tasks. Your JScripts will be able to access and manipulate the contents of files and folders. You'll be able to develop JScripts that can create report and log files. You will also be able to create JScripts that can read and process text files. In addition, you will learn how to copy, move, rename, and delete text files and folders.

On top of all this, this evening you'll learn how to write JScripts that can access local and network printers and drives . You'll also see how to work directly with the Windows desktop, Start menu, and registry. You'll learn how to use the WSH to write messages to the Windows event log and execute Windows commands and command-line utilities.

[ LiB ]


Learn JavaScript In a Weekend
Learn JavaScript In a Weekend, Second Edition
ISBN: 159200086X
EAN: 2147483647
Year: 2003
Pages: 84

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net