• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part III: Appendixes > Index of Patterns

Index of Patterns

Chapter Topic Task Page
2 VBScript Repeat a task until finished 58
  Extract base filename from a full filename 66
  Prompt user for numeric or date input 74
  Display counts in English 76
  Scan all the elements of an array 80
3 Objects Scan through objects in a collection with VBScript 93
  Scan through objects in a collection with JScript 95
  Scan through objects in a collection with Object REXX 103
  Explain proper command-line usage 106
4 File objects Process all files and subfolders in a folder recursively 137
  Open a text file for input or output 139
  Read all lines of a file, ignoring blanks 142
  Select files that have any one or more of several file attributes 132
  Select files that have all of several file attributes 132
5 Network objects Determine whether a drive is local or mapped 201
  Determine the network path of a mapped drive 202
  Delete a network mapping 204
  Map a network drive 205
  Add a network printer connection/icon 209
  Delete a network printer connection/icon 210
  Redirect a DOS printer to a network printer 211
7 WMI objects Extract items with unknown names from collection 285
10 Deploying scripts Extract named command-line arguments (options) in a script 392
  Validate all command-line arguments in a script 393
  Process an arbitrary list of command-line arguments in a script 394
12 Batch files Process a variable number of command-line arguments in a batch file 502
  Prompt the user for a yes/no answer in a batch file 513



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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