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

Different Sets for Different Folks

Different Sets for Different Folks

The set in a FOR command can hold more than simple strings such as Tinkers and Evers. The real power of FOR becomes evident when you use file specifications, command names, and even replaceable parameters as part of a set.

For example, have you ever copied a bunch of files into the wrong folder? This happens occasionally, and it’s usually a mess to clean up because the files get all mixed up with whatever was already in the folder. Before smashing your monitor, check out the following batch file (named CLEANUP.BAT):


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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