Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Execute VBS via SQL Stored Proc

Author  Topic 

pr4t3ekd
Starting Member

31 Posts

Posted - 2010-02-24 : 20:13:12
Hello,

I'm wanting to execute a VBS script in a SQL Stored Proc. How can I go about this?
Location of vbs can be "\\server\folder\subfolder\test.vbs"

Cheers

pr4t3ekd
Starting Member

31 Posts

Posted - 2010-02-24 : 21:39:36
Solution: EXEC master..xp_cmdshell 'wscript \\server\folder\subfolder\test.vbs'
Go to Top of Page
   

- Advertisement -