Joined: June 9th, 2008, 7:37 am Posts: 79 Location: Kent, UK
|
Hi, is there a way I can assign double quotes within a variable's string?
This is what I'd like to do:
MY_VARIABLE = "/K "MD TEST&&CD TEST""
I'd like to be able to pass a string to a button which launches CMD.EXE,
the gotcha is if you want to process more than one command they have to be seperated by && and enclosed in quotes.
I have successfully tested the operation using the 'option/parameter' when launching the file, but would like to assign the parameter to a variable so I can keep the parameters all in one script together.
I think I need a way of 'escaping' the quotes, but not sure how to progress this in Opus.
Hope this makes sense!
Many thanks, Kurt
_________________ Opus Pro 7.04 Windows XP SP3 2GB Athlon II X2 1.6GHz ATI RAdeon HD 3200
For this message 3buns has been thanked by : mackavi
|
|