If no directory specification is specified after /R, then the current directory is assumed. Walks the directory tree rooted at path, executing the FOR statement in each directory of the tree. FOR /R path] %variable IN (set) DO command If set contains wildcards, then specifies to match against directory names instead of file names. If Command Extensions are enabled, the following additional forms of the FOR command are supported: FOR /D %variable IN (set) DO command Variable names are case-sensitive, so %i is different from %I. To use the FOR command in a batch program, specify %%variable instead of %variable. Specifies parameters or switches for the specified command. Specifies the command to carry out for each file. Windows 2000, XP, and later syntax FOR %variable IN (set) DO command %variable
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |