$ 0 0 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 Filed under: Configuration, Configuration