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

Executing Scripts

After creating a script file, you can run it by double-clicking the file in Windows Explorer, or through a shortcut to the script file. But Windows being what it is, you may suspect that there are at least a half dozen other ways to do the same thing. Indeed, there are.

You can also run scripts from the command line by typing the base name of the script file, without the file extension. For example, after creating the sample script that I discussed earlier in the chapter, you can type hello at the command prompt, and Windows will run the script.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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