Larry wrote:
> Hi All
>
> I am writing a batch file which calls an .HTA file, which promts a user for
> input. Once the user has finiished inputting the information I need it to
> then return to the batch file and complete. Problem is that the hta file
> executes and brings up the window, however the batch file completes its
> execution in the background.
>
> I have tried using the start /wait , but because the hta file is not really
> a program it immediately goes back to the batch file.
Hi
This works fine for me:
start /wait mshta.exe F:\hta\commandshlp.hta
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx