quotes problem

I can’t find a way to get quoted text in the shell without the backslash before it.
This is the command I want to run:


which adds the text

enlightenment

to the file aa.txt

If I do

set qpath to "<path to aa.txt>"
set thetext to "\"<A HREF=\"Show Me the Way\">enlightenment</A>\""
set thecmd to "echo " & thetext & " >>  " & qpath

thecmd is:
“echo [b][/b]”<A HREF=[b][/b]“Show Me the Way[b][/b]”>enlightenment" >> “<path to aa.txt”

I mean, I can’t get rid of the backslashes before the quotes.
Please answer my simple query.

Hi,

for quoted problems use quoted form of


set qpath to "<path to aa.txt>"
set thetext to "<A HREF=\"Show Me the Way\">enlightenment</A>"
set thecmd to do shell script "echo " & quoted form of thetext & " >>  " & qpath