Microsoft KB Archive/113605

= WALK.EXE Command Line Parameters and Usage =

Article ID: 113605

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft LAN Manager 2.1 Standard Edition
 * Microsoft LAN Manager 2.1a
 * Microsoft LAN Manager 2.2 Standard Edition

-



This article was previously published under Q113605



SUMMARY
WALK.EXE is part of the utilities in the LAN Manager Resource Kit. This article provides information on how to use it.



MORE INFORMATION
Walk traverses a specified directory tree and executes a command with the appropriate subdirectory or file substituted for each %s in the command. It does NOT change directory to each node as they are processed.

Usage
  walk [/p] [/f] [/d] path [command]

Switches
  /p    print out the name of the file/directory as it is processed /f   apply the command to files only /d   apply the command to directories only /h   also process hidden directories and files If the command is an internal OS/2 command, use cmd /c command. For example:   walk /d. cmd /c dir %s

Examples
   walk /d. ls %s walk /f. walk /d. walk /d c:\bin del %s The command:   WALK.EXE /d C:\ NET ACCESS %s > OUTPUT.TXT when placed in a batchfile, should look like:   WALK.EXE /d C:\ NET ACCESS %%s > OUTPUT.TXT (note the double % symbol)

Additional query words: 2.10 2.1 2.10a 2.1a 2.20 2.2

Keywords: KB113605

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.