orlando.p.colamatteo Commented 2 Years ago through
Blogs
This requires that you enable xp_cmdshell which increases the attackable surface area of your SQL Server installation. I would advise against it. Use PowerShell to do scripting tasks that involve the file system...if you absolutely must access the file ...