Page 1 of 1 1
Topic Options
#208576 - 2014-02-11 04:03 PM Kix variable to vbs
bastidz Offline
Fresh Scripter

Registered: 2005-07-25
Posts: 6
Loc: Germany
Hello,

Is there a way to pass a variable from kix to a vbs script?

Example:

kix:
$Text="Hello"
SHELL 'wscript.exe "C:\Test\Test.vbs"'

Test.vbs:
wscript.echo $TEXT

Result = Hello


Thank you very much

Top
#208577 - 2014-02-11 04:31 PM Re: Kix variable to vbs [Re: bastidz]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
bet there is, might not be that elegant...
_________________________
!

download KiXnet

Top
#208578 - 2014-02-11 04:32 PM Re: Kix variable to vbs [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
here ya go:
http://technet.microsoft.com/en-us/library/ee156618.aspx
_________________________
!

download KiXnet

Top
#208583 - 2014-02-12 08:37 AM Re: Kix variable to vbs [Re: Lonkero]
bastidz Offline
Fresh Scripter

Registered: 2005-07-25
Posts: 6
Loc: Germany
great, that i've been looking for.

Bastian

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.09 seconds in which 0.061 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org