Current folder for HTA packaged script
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Current folder for HTA packaged script
I wrote an HTA script using the VBscript language. When I package my HTA script with PrimalScript 2009, I have the extracted script file output to the %temp% folder.
I have a need to write the information generated by this HTA script to a file in the same folder as the packaged script.
What is the way that I can accomplish this task?
Thanks.
I have a need to write the information generated by this HTA script to a file in the same folder as the packaged script.
What is the way that I can accomplish this task?
Thanks.
Current folder for HTA packaged script
I wrote an HTA script using the VBscript language. When I package my HTA script with PrimalScript 2009,
I have the extracted script file output to the %temp% folder.
I have a need to write the information generated by this HTA script to a file in the same folder as
the packaged script.
What is the way that I can accomplish this task?
Thanks.
I have the extracted script file output to the %temp% folder.
I have a need to write the information generated by this HTA script to a file in the same folder as
the packaged script.
What is the way that I can accomplish this task?
Thanks.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Current folder for HTA packaged script
There really is no way for an HTA to get that information.
The only thing I can offer for that is to add that to the wishlist and see if we can add something in a future service build.
It would probably require generating code that is injected into the HTA as it is unpacked.
The only thing I can offer for that is to add that to the wishlist and see if we can add something in a future service build.
It would probably require generating code that is injected into the HTA as it is unpacked.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Current folder for HTA packaged script
I know that when I packaged the HTA script in Admin Script Editor, Admin Script Editor has a pathvariable generated during the execution of the packaged script. It was through this path variable that I could use to output the log file to the packaged HTA script's current folder. I wish PrimalScript will have the same feature in the future release.
Current folder for HTA packaged script
I know that when I packaged the HTA script in Admin Script Editor, Admin Script Editor has a pathvariable generated during the execution of the packaged script. It was through this path variable that I could use to output the log file to the packaged HTA script's current folder. I wish PrimalScript will have the same feature in the future release.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Current folder for HTA packaged script
Send some details as to how this worked to support@sapien.com. I'll see what we can come up with.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Current folder for HTA packaged script
Hello,
I tried to write an email to support@saoien.com about this issue, but I got a not deliverable response (NDR) back. So I like to go ahead and post my request here.
I like to see the new release of PrimalScript to be able to get the packaged script's current folder when the VBscript file is packaged in either the Wscript or HTA mode.
I have PrimalScript 2009, and I cannot output the log files generated by the packaged script to be placed in the packaged script's folder when I packaged it in the Wscript or the HTA script mode.
Please let me know when this task has been completed so that I can try it.
Thank you so much for your attention concerning this matter.
I tried to write an email to support@saoien.com about this issue, but I got a not deliverable response (NDR) back. So I like to go ahead and post my request here.
I like to see the new release of PrimalScript to be able to get the packaged script's current folder when the VBscript file is packaged in either the Wscript or HTA mode.
I have PrimalScript 2009, and I cannot output the log files generated by the packaged script to be placed in the packaged script's folder when I packaged it in the Wscript or the HTA script mode.
Please let me know when this task has been completed so that I can try it.
Thank you so much for your attention concerning this matter.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Current folder for HTA packaged script
No, I forwarded the reply that bounced back to YOUR specified email address. You should not email from one email address and have an invalid email set as reply-to.
The original reply was attached.
2009 is no longer supported an no additions or fixes will be issued for that version.
Having said that, I am not sure why you would not be able to write log files. The WScript properties are set correctly if packaged as an exe and the HTA object model has no such property. Maybe you can explain exactly where your problem is.
The original reply was attached.
2009 is no longer supported an no additions or fixes will be issued for that version.
Having said that, I am not sure why you would not be able to write log files. The WScript properties are set correctly if packaged as an exe and the HTA object model has no such property. Maybe you can explain exactly where your problem is.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.