if you want to write Script to delete file from  your pc by SQL Server must be Configure your SQL server to allow this option :

exec sp_configure ‘Ole Automation Procedures’, 1

go

reconfigure

go

 

One thought on “Ole Automation Procedures to delete file from PC

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.