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 2008 Forums
 Transact-SQL (2008)
 xp_cmdshell vbscript

Author  Topic 

johnix
Starting Member

1 Post

Posted - 2014-10-20 : 04:24:02
Hi,
i tried to use xp_cmdshell in order to execute a vbscript from a trigger and it works, but i notice that trigger wait until the vbscript was terminated. i do some things into vbscript, so i can't wait until the end. There is a way to don't wait until the end, in practice, run vbscript in asynchronous mode???
thanks in advance

john

gbritton
Master Smack Fu Yak Hacker

2780 Posts

Posted - 2014-10-20 : 09:06:27
examples here: http://msdn.microsoft.com/en-us/library/aa389388(v=vs.85).aspx
Go to Top of Page
   

- Advertisement -