The DIR command lists the content of a folder, and to select files froms attributes, or name using regular expression.
DIR [/A[:]attributes] [/S] [/B] [path]
Search and list files and folders.
/A[:]attributes : Specifies a list of attributes that determines files and folders that will be listed. For more informations, see /A[:]attribute switch.
/B : Simplified output. Output only files and folders name, without printing date, size, nor attributes. This switch eases the processing by a FOR loop.
/S : Sets recursive search. See regular expressions for more informations.
Supported since 0.4 version.
Mostly compatible with cmd.exe. Nevertheless, many switchs used to change output style are not supported.
Commande COPY, Commandes REN et RENAME, Commande Move, Commandes DEL et ERASE
Dos9 manual pages, The Dos9 Project - Copyright © 2010-2014 Darkbatcher
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Please report bugs and mistakes at : <darkbatcher at dos9 dot org>