hi folks,
here's a simple code that shows what I'd like to achieve:
declare @fso int,@fldr int
EXEC sp_OACreate 'scripting.filesystemobject', @fso OUTPUT
EXEC sp_OAMethod @fso, 'DeleteFile("C:\temp\logout.gif")', @fldr OUTPUT
Basically, I'm looking at deleting files using FSO inside SP but to no avail. Any thoughts ?:
Cheers,