Login | |
|
 |
RE: Question RE Pausing in HTA - 5/7/2008 5:29:06 AM
|
|
 |
|
| |
dm_4ever
Posts: 2174
Score: 32
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
Wouldn't you want this line to finish first? objShell.Run("%comspec% /C c:\psexec.exe \\" & strMachine & " netsh interface ip show config >>" & outputfile) i.e. objShell.Run "%comspec% /C c:\psexec.exe \\" & strMachine & " netsh interface ip show config >>" & outputfile, 0, True If the only reason for the sleep is to wait long enough to read the output file created...that should take care of it.
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|