batch file calling an .hta file

  • Thread starter Thread starter Larry
  • Start date Start date
L

Larry

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.

Any insight or help would be greatly appreciated.

Thanks in advance
LT
 
Larry said:
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
 
Back
Top