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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load table with names of files

Status
Not open for further replies.

trenttc

Technical User
Feb 25, 2002
68
US
I want to load a table with the names of files from a directory. The directory contains graphics and I don't want to load each file's contents. I will link to the graphics later (linked v embedded). Loading a file's contents is easy. How do you load a directory's contents?
 
What database are you using? This would require a
non-ansi extension so it is going to be database specific.

You would probably be better off posting this question in a forum specific to your database.

 
Hi,
Why don't you make the names of the files a file and then load the contents of that file since you know how to do that.

Unix

ls -1 > /tmp/file

windows

dir /b > c:\temp\file




 
A simple dir /b > c:\temp\file will do it. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top