Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to generate a list of folders, subfolders and files in

Status
Not open for further replies.

eo

MIS
Apr 3, 2003
809
Is there a way to generate a list of folders, subfolders and files within each in a specific directory? I need to import such a list into SQL.

EO
Hertfordshire, England
 
If you go to the root of a drive and type
DIR C:\ /S > dirlisting.txt

You can import the file. Hope this helps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top