In reply to a post by StephenTodd:What I have done which is working (and neater) is to change the task to run "HG612_stats.exe", and told it to start in the appropriate "HG612_Modem_Stats\Scripts" directory.
I imagine this is avoiding the OpenWith.exe, and certainly avoiding cscript of the .vbs file.
If easy I suggest you change the Settings Editor to generate this variant
I used a .VBS script mainly for XP users, where I couldn't find any other way to make the .exe program run 100% silently 100% of the time (other than by running a shortcut to a batch file that ran the .exe - phew).
Running the .exe silently can be done in Vista & Windows 7, but I chose to continue with the .VBS script for compatibility reasons.
RONSKI wrote the Settings Editor & included the starting/stopping/disabling of scheduled tasks to replace the previous batch files that used to do that.
He already differentiates between Windows versions (XP uses a different method to automate setting up scheduled tasks), so it MAY be relatively easy for him to change things to suit.
I haven't actually seen his code for the Settings Editor, so I don't really know how easy it would be.
If it's feasible, it could be included in the first release update, as will be the option to disable all the extensive event/error logs data.
We didn't/don't have access to a Windows 8 machine, so our testing didn't extend to W8.
Nonetheless, I'm glad you have sussed out how to make it work.
I believe there is a way to force cscript to run .VBS scripts, but I didn't include that as it didn't seem necessary at the time.



Pages in this thread:
Print Thread
