Jump to content


  • 0
Canada Jack

How does the HTA to write a line to txt file?

Question

I'm working on an HTA frontend for my task sequences, starting with a basic computer information one. I had previously used a .vbs that .wrote a line in the txt file. However, vbscript inside of an HTA aren't allowed.

Is there any other way to write a line into the txt file from the HTA?

 

Thanks

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I found an idea:

 

created an hta, I placed this file in a package without a program.

used a "run command line" task and pick the package and put xxx.hta in the command line: box. I placed the task sequence item before Apply windows settings.

 

It's works.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.