Chapter SUNDAY EVENING. Using JScript to Automate Windows Tasks

[ LiB ]

Chapter SUNDAY EVENING. Using JScript to Automate Windows Tasks

  • How to create, configure, and delete shortcuts

  • How to use shortcuts to configure the Windows desktop, Start menu, and Quick Launch toolbar

  • How to execute any Windows command or command-line utility from within your JScripts

  • How to write a message to the Windows application event log

  • How to start and retrieve data from the Windows registry

  • How to connect to network resources

In tonight's final lesson you are going to learn how to create JScripts that automate a host of different Windows tasks. Therefore, the chapter will be switching from topic to topic pretty quickly. I think that you'll find the variation of topics and pace a lot of fun. For starters, you will learn how to create JScripts that can interact with and configure the Windows desktop, Start menu, and Quick Launch toolbar.

Next you will find out how to control Windows services and create new user accounts. Then you will learn how to connect to and work with network resources. After that you will learn how to store and retrieve data and script configuration settings in the Windows registry. You'll then learn about the Windows application event log and find out how to write messages to it, which you'll find particularly useful in saving error information for later review.

You will also learn how to execute any Windows command or command-line utility from within a JScript. I'll then wrap up everything by showing you how to set up the scheduled execution of your JScripts so that you can run them even when you are away form your computer. If you are ready, let's get started.

[ 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