MSFN Forum: CMD doesn't wait WPI closes - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CMD doesn't wait WPI closes Rate Topic: -----

#1 User is offline   brenza 

  • Group: Members
  • Posts: 6
  • Joined: 16-September 07

Posted 13 February 2009 - 08:08 AM

Please help me, i use the nLite's RunOnce function to call WPI.hta

%SOURCE%\WPI\Wpi.hta

and it works, but windows doesn't wait WPI closes to load the desktop (cmd closes)
can you help me?


#2 User is offline   chaoticyeshua 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 30-March 06

Posted 13 February 2009 - 10:14 AM

Try this:

Quote

start /wait %windir%\system32\mshta.exe %SOURCE%\WPI\Wpi.hta


#3 User is offline   brenza 

  • Group: Members
  • Posts: 6
  • Joined: 16-September 07

Posted 13 February 2009 - 11:43 AM

Thank you! :thumbup

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy