
i need help with 'wscript.run'
While + and & can both be used to concatenate strings, VB Script can have
problems using + when the string is all numbers, as in a pager PIN number.
Also, I don't think you can fake the ") at the end, it just becomes part of
the string. Also, embed the space after nvpage and mobilecom rather than
declaring another variable, if the format isn't going to change.
pager="1234567"
msg="This is my text message."
wscript.run(appstring)
--
Visit this part of my home page for some helpful
Cosmetic, Security and Utility Tweaks for Win98.
http://members.xoom.com/dbknox/registry/index.htm
New Tweaks and Files added often.
Quote:
> i have an external executable that will do paging.
> it is 'nvpage.exe'.
> the cmd line looks like this:
> i'm trying to use it in a .vbs. the pager number will be a variable
> and the message will be a variable. the wscript syntax looks like
> this:
> this will work perfect. but when i try using variables i can't get it
> right to make it work. example:
> space=chr(32)
> pager="1234567"
> msg="This is my text message."
> ending=chr(34) + chr(41) ' this is the ending characters= ")
> anybody know how to handle this so i can use variables?
> tia