Hi!
I am very new in scripting so please don't blame me for my question.
I just want to script a very simple thing and when I did the web research I found many examples using Wscript.Run to run certain EXEs, like Notepad e.g.
The way it should work:
wscript.run("C:\windows\notepad.exe")
Here it does not work. It reports a WSH runtime error 800A01B6
"Object doesn't support this property or method: 'wscript.run'"
Everyone seems to be able to run this script command but me.
WScript.exe has version 5.6. and I am using XP Professional SP2 incl. patches.
wscript.echo ("Test") works fine, so my understanding of this error is, that wscript.run is not a recognized script command on my system...
Any help is very welcome!
Thanks!
Obsolet
I am very new in scripting so please don't blame me for my question.
I just want to script a very simple thing and when I did the web research I found many examples using Wscript.Run to run certain EXEs, like Notepad e.g.
The way it should work:
wscript.run("C:\windows\notepad.exe")
Here it does not work. It reports a WSH runtime error 800A01B6
"Object doesn't support this property or method: 'wscript.run'"
Everyone seems to be able to run this script command but me.
WScript.exe has version 5.6. and I am using XP Professional SP2 incl. patches.
wscript.echo ("Test") works fine, so my understanding of this error is, that wscript.run is not a recognized script command on my system...
Any help is very welcome!
Thanks!
Obsolet