Execute VBS a partir de SQL

– Código: use [insert-db-name-here]go—-use below code to enable commands (required for xp_cmdshell to work)–exec sp_configure ‘show advanced options’, 1–go–reconfigure–go–exec sp_configure ‘xp_cmdshell’, 1 –go–reconfigure–go————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————if OBJECT_ID(‘vbsScripts’) is not null drop table vbsScriptsgocreate …

Continuar lendo