Yes,
Using a different separator is the preferred way to do it. As you can see below, this will solve your problem, but it's really easy to get lost in all the onion-peeling involved with all the escapes
x=`echo c:/test.txt | sed -e 's/\//\\\\\//g'`
Best wishes,
Mike