VB noob R2's mod last x days

Clone / X
November 28, 2010 at 14:45:16
Specs: 2K SP4, AMD Ath 64X2 2GB
this: http://www.computing.net/answers/pr...

Gives this error:

r7.vbs(7, 1) Microsoft VBScript runtime error: Object doesn't support this property or method: 'WScript.Arguments.Unnamed'


What am I missing? TIA


=====================================
Life is too important to be taken seriously.

M2


See More: VB noob R2s mod last x days

Report •


#1
November 28, 2010 at 18:11:21
WScript.Arguments.Unnamed was added in WSH 5.6, but Win2K shipped with an older version. What version of WSH are you running? CScript should tell you when it starts a script.

How To Ask Questions The Smart Way


Report •

#2
November 28, 2010 at 20:06:45
wscript.exe 5.1.0.4615

TY


=====================================
Life is too important to be taken seriously.

M2


Report •

#3
November 29, 2010 at 01:54:00
Ah, yeah, that's the version bundled in Win2K. There's not much difference between 2.0 and 5.6; mostly just the better argument parsing, the ability to run processes (outside of using WMI), and the ability to run scripts remotely.

Obviously, I'd suggest downloading the most recent version, 5.7, which I seem to recall is 5.6 with some memory leak patched.

How To Ask Questions The Smart Way


Report •

Related Solutions

#4
November 29, 2010 at 02:42:30
Hi R2,

TY Been trying to get it since your earlier msg.


=====================================
Life is too important to be taken seriously.

M2


Report •

Ask Question