Script Packager - Retain script names
Posted: Tue Feb 05, 2008 3:03 am
An option to leave script names unchanged in a script package. That way if your using things like Wscript.ScriptName you can actually rely on it coming back with the intended name and not a randomly generated script name. Along with that option could be an optional overwrite existing files.
For example, I have test.vbs which relies on a supporting ini file named test.ini. When I script for this I will have it get the filename (without extension) of the running vbs which is "test" and add a .ini extension to find the supporting "test.ini". Currently when the script is packaged this functionality breaks because the script name is randomly generated, but the ini file name is retained because it's in the data files area.
This is just one example, but I can think of quite a few other things that would benefit from having these options added.Travis.Golliher@aps.com2008-02-05 11:05:27
For example, I have test.vbs which relies on a supporting ini file named test.ini. When I script for this I will have it get the filename (without extension) of the running vbs which is "test" and add a .ini extension to find the supporting "test.ini". Currently when the script is packaged this functionality breaks because the script name is randomly generated, but the ini file name is retained because it's in the data files area.
This is just one example, but I can think of quite a few other things that would benefit from having these options added.Travis.Golliher@aps.com2008-02-05 11:05:27