Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 23 Oct 2002 @ 02:35:03 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Is there any way?
From:   Dennis Calkins


you can issue

dir /?

from the CMD prompt on windows and get a list of all the options.

dir /b > c:\temp\file.txt

will generate a list of all the files in a directory on windows. if you want to get fancy like

/b is nice because it gives just the BARE names without all size and date stuff. Also they will be completely qualified as well.

C:\Documents and Settings\user\Templates\quattro.wb2

dir /b /s > c:\temp\file.txt

will recurse all the subdirectories.

dir /b /a-d > c:\temp\file.txt

only the files and not the directories

dir /b /s /a-d > c:\temp\file.txt

only the files and not the directiories but recurse all the subdirectories.

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 23 Jun 2019