Hi All,
I need a little bit of scripting help here.
Within OBIEE (web based Business Intelligence tool) we send a file to a VBscript with a list of Arguments/Parameters.
Now generally i know you can use the below code to count the number of arguments passed:
But when I try that code i get:
"WScript" is not declared, which I believe is because its WSH, and it cant be used in this way..
The origional code (which wasnt written by me) uses the below statement to save the file to a local location:
So, how can i get a count of the number of Paramaters passed to the code??
Thanks in advance
Robbie
I need a little bit of scripting help here.
Within OBIEE (web based Business Intelligence tool) we send a file to a VBscript with a list of Arguments/Parameters.
Now generally i know you can use the below code to count the number of arguments passed:
Code:
Set objArgs = Wscript.Arguments
'Count the arguments
WScript.Echo objArgs.Count
But when I try that code i get:
"WScript" is not declared, which I believe is because its WSH, and it cant be used in this way..
The origional code (which wasnt written by me) uses the below statement to save the file to a local location:
Code:
objFSO.CopyFile Parameter(0),"C:\OracleBI\server\Scripts\Common\" & fName & "." & fFormat ,true
So, how can i get a count of the number of Paramaters passed to the code??
Thanks in advance
Robbie