Search found 150 matches

by clum09
Wed Oct 10, 2012 9:58 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 5059

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 ...
by clum09
Wed Oct 10, 2012 9:58 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 5059

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 ...
by clum09
Wed Oct 10, 2012 5:34 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 5059

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 w...
by clum09
Wed Oct 10, 2012 5:34 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 5059

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 w...
by clum09
Wed Oct 10, 2012 5:31 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 5059

Current folder for HTA packaged script

HTA packaged script
by clum09
Fri Jan 06, 2012 5:24 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 3804

Error(2): Invalid character

I repackaged the script with the latest version of PrimalScript, and the error appears only at the end of the run. However, if I ran the unpackaged script using cscript, no error shows up. The script was packaged with PrimalScript installed on Windows XP Service Pack 3. I need to package the script ...
by clum09
Thu Jan 05, 2012 4:54 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 3804

Error(2): Invalid character

I did not encode the vbscript. I simply packaged the script right out of PrimalScript editor.

The script is very straightforward - no other script to call within the script except the functions and subroutines within the script.
by clum09
Wed Jan 04, 2012 11:47 pm
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 3804

Error(2): Invalid character

But when I ran the script outside of the PrimalScript package (using cscript), I don't see this error.
by clum09
Wed Jan 04, 2012 7:38 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 3804

Error(2): Invalid character

Regardless of where the issue is, the packaged script should indicate the line where the error was generated from.
by clum09
Wed Jan 04, 2012 7:09 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 3804

Error(2): Invalid character

Alexander, I did not use any strange characters within the script. Nor did I use any international characters. Since the packaged script does not show any line number when it generated this error, I cannot pin point where location of the code that generated this error. The fact that when I ran the s...