The best way to do this is to tell the packager not to use the temp folder.
That way you can be sure your script runs in the same fodler as the exe.
Search found 8486 matches
- Mon Feb 23, 2009 5:16 am
- Forum: PrimalScript
- Topic: Output file to the current script folder
- Replies: 7
- Views: 2730
- Mon Feb 23, 2009 5:15 am
- Forum: PrimalScript
- Topic: Output file to the current script folder
- Replies: 7
- Views: 2730
Output file to the current script folder
Moving topic to the appropriate forum.
- Mon Feb 23, 2009 5:06 am
- Forum: PrimalScript
- Topic: Output file to the current script folder
- Replies: 7
- Views: 2730
Output file to the current script folder
Please also do not post PrimalScript questions in the Free Tools section.
Use the proper technical support forum.
Use the proper technical support forum.
- Mon Feb 23, 2009 5:04 am
- Forum: PrimalScript
- Topic: Output file to the current script folder
- Replies: 7
- Views: 2730
Output file to the current script folder
It really depends what packaging options you use, but
WScript.Path
should work like in any other VBScript.
Or am I missing something?
Alex
WScript.Path
should work like in any other VBScript.
Or am I missing something?
Alex
- Mon Feb 23, 2009 4:12 am
- Forum: PrimalScript
- Topic: PrimalScript 2007/09 crashing on powershell script
- Replies: 13
- Views: 4586
PrimalScript 2007/09 crashing on powershell script
Yeah, it seems the Powershell engine chokes on unfinished strings and it depends on their length if it reports an error or blows up.
- Mon Feb 23, 2009 3:58 am
- Forum: PrimalScript
- Topic: Output file to the current script folder
- Replies: 7
- Views: 2730
Output file to the current script folder
What type of script are you packaging?
- Mon Feb 23, 2009 3:56 am
- Forum: PrimalScript
- Topic: Primalscript 2009 Debugger
- Replies: 3
- Views: 745
Primalscript 2009 Debugger
PrimalScript has never participated in the Microsoft Just-In-Time debugging scheme, since it breaks far too easily.
Just load your VBScript into PrimalScript and choose "Debug" -> "Go" or press F5.
Just load your VBScript into PrimalScript and choose "Debug" -> "Go" or press F5.
- Sun Feb 22, 2009 11:57 am
- Forum: PrimalScript
- Topic: PrimalScript 2007/09 crashing on powershell script
- Replies: 13
- Views: 4586
PrimalScript 2007/09 crashing on powershell script
It's odd it would crash in that dll. I was able to replicate the issue with PowerShell V2. The crash occurs when PowerShell is asked to syntax check any block of script. As PowerShell V2 is not released, or even officially in beta, we cannot really support this. In the next service build we will mak...
- Sun Feb 22, 2009 7:08 am
- Forum: PrimalScript
- Topic: Right-click hang
- Replies: 26
- Views: 3491
Right-click hang
Yes, please send the key. I'll try to find out what caused this.
Alex
Alex
- Sun Feb 22, 2009 7:05 am
- Forum: PrimalScript
- Topic: Snippets CD's
- Replies: 2
- Views: 1299
Snippets CD's
The location of the files depends on your OS and your configuration. We needed to move the folder to conform with Vista and Windows 7 requirements. You can always determine (or change) the actual location by going toTools - Options - Environment - Directories and look where the "Snippets folder...