#162432 - 2006-05-24 09:11 PM
Re: Using WshPipe output
|
operez
Getting the hang of it
Registered: 2003-08-08
Posts: 75
|
Les,
I had may last cup of coffee almost 6 hours ago and I’ve had a big lunch, so forgive me if I don’t understand your question. Because, the output from my VBScript is the user name and the server name, separated by a colon. Wouldn’t that also be the output of WshPipe function?
I don’t get to script much and I don’t get out very often, but you’ve made me see the error in my ways. I now realize that I was trying to split an array, when the split command only works on strings.
Radimus,
I had to change Code:
? $rc(0) ? $rc(1)
to Code:
? $rc[0] ? $rc[1]
to make this script work. I really appreciate your help.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1077 anonymous users online.
|
|
|