Article ID: 113605
Article Last Modified on 9/30/2003
walk [/p] [/f] [/d] path [command]
/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 filesIf the command is an internal OS/2 command, use cmd /c command. For example:
walk /d . cmd /c dir %s
walk /d . ls %s
walk /f .
walk /d .
walk /d c:\bin del %s
The command:
WALK.EXE /d C:\ NET ACCESS %s > OUTPUT.TXTwhen 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