U can use the "tree" command with the /F switch and redirect to outfile file using "> log.txt" without quotes, for example.
 
C:\>tree /?
Graphically displays the folder structure of a drive or path.
 
TREE [drive:][path] [/F] [/A]
 
   /F   Display the names of the files in each folder.
   /A   Use ASCII instead of extended characters.
 
C:\>tree /F > Log.txt
 
 
Regards/
 
Martin.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pamela Clark
Sent: Wednesday, December 22, 2004 5:49 PM
To: [email protected]
Subject: RE: [ActiveDir] Command Line Utility

From anywhere in the folder tree, at the command line type “dir c:\” – or put that command in a cmd script

 

Kind regards

Pamela Clark

Information Services Manager

Delegats Wine Estate Ltd

DDI. +64 9 359 7320

Mob. +64 21 611 211

Fax. +64 9 359 7359

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lou Vega
Sent: Thursday, 23 December 2004 9:41 a.m.
To:
[email protected]
Subject: RE: [ActiveDir] Command Line Utility

 

Dir C:/s > AllFiles.txt

 

This will optionally dump the list to the AllFiles.txt file versus dumping it to screen

Also remove/change the C: as needed (drive letter)

 

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Salandra, Justin A.
Sent: Wednesday, December 22, 2004 3:31 PM
To: ActiveDir (E-mail)
Subject: [ActiveDir] Command Line Utility

 

Everyone,

 

Do any of you know of a command line utility that would display all file names in a folder and all subfolders of the root folder?

 

TIA

 

Justin

 

 

AVISO LEGAL:
Esta informacion es privada y confidencial y esta dirigida unicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha informacion por favor elimine el mensaje. La distribucion o copia de este mensaje esta estrictamente prohibida. Esta comunicacion es solo para propositos de informacion y no debe ser considerada como propuesta, aceptacion ni como una declaracion de voluntad oficial de REPSOL YPF S.A. y/o subsidiarias y/o afiliadas. La transmision de e-mails no garantiza que el correo electronico sea seguro o libre de error. Por consiguiente, no manifestamos que esta informacion sea completa o precisa. Toda informacion esta sujeta a alterarse sin previo aviso.

This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, disseminastribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from REPSOL YPF S.A. and/or subsidiaries and/or affiliates. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.

Reply via email to