• You can use sp_OACreate to access the the File System Object (Active X)

    reading & writing files in sql server[/url]

    Director of Transmogrification Services