General information
Title:
Difficulty Passing Parms to VB Script Using RUN
Hi folks,
I need to change a couple of folder names programatically which I'm doing with small VB script, and I need to pass a couple of arguments for the folders that will be renamed. My problem is that the arguments which are VFP expressions are passed to the script as the literal expressions rather than being evaluated. The following line:
"RUN /N wscript my_script.vbs ThisForm.p_cFormProperty1 SomeOtherExression2" won't work since neither of the 2 arguments are evaluated. I tried EVALUATE(), but that didn't help.
I can brute force" a solution by writing a VERY LONG DO CASE statement, but there must be a smarter way...
Any ideas?
Thanks,
Alan
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only