Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 reading local filenames from SQL7

Author  Topic 

jessop
Starting Member

9 Posts

Posted - 2002-07-02 : 10:40:42
Hi,

can anyone help? I need to read local file information (specifically the filename) on a box running SQL 7.

I don't want to use the FileSystemObject in the ActiveXScript of a DTS package. I am also keen to avoid using xp_cmdshell. It does seem that you can use linkedservers to get the information but why do this for a local server? I can't get it to work in any case.

For example, I would like to return info on file on the C Drive in the tabular style of a linkedserver search using a SCOPE of C:

Any ideas please???

M.E.
Aged Yak Warrior

539 Posts

Posted - 2002-07-02 : 10:54:27
please only post on one forum

hmmm, I really only know how to go about it with filesystemboject

Any reason why you don't want to use that?

-----------------------
Take my advice, I dare ya
Go to Top of Page

jessop
Starting Member

9 Posts

Posted - 2002-07-02 : 11:09:55
quote:

please only post on one forum

hmmm, I really only know how to go about it with filesystemboject

Any reason why you don't want to use that?

-----------------------
Take my advice, I dare ya




....only because I don't want the performance overhead and it is not as friendly to my general aim of incorporating the file info into a recordset

Go to Top of Page
   

- Advertisement -