dbTalk Databases Forums  

WScript.Shell

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss WScript.Shell in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Luq K
 
Posts: n/a

Default WScript.Shell - 07-06-2005 , 09:39 AM






Hi,
I am running shell commands, I want the execution to wait for the shell
command to finsh. How can I accomplish that? I tried WScript.Sleep but for
some reason I am getting an error on WScript object..

Set objShell = CreateObject("WScript.Shell")
objShell.run ""
WScript.Sleep 5000


Thanks

--
Luq K

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.