I have 3 lines of code I want to package and am having trouble with the "%1"
I am using WISE Package Studio 5.x
It see's the % and keeps thinking it is a variable and will error on compile. I have tried it with ' or " and all that good stuff but it just doesnt want to pass the %1 to the command line.

Open for suggestions on a better way to do this via vb or other.

Code Below:
cd \somedir
someprogram %1
cd \

Thanks in advance for any help.
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Hi ,

You mean to say the Wise script undertands %1 as a variable . In that case you can try giving %% so that it wont recognise as a variable value, it considers as a string .

Answered 07/20/2006 by: viswakar
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity