I have a fairly complicated string which needs the quotes escaped at some point.
I have marked as $5, the point where i need the escaped (double) quotes to go.MessageBox MB_OK "$R1\Binn\osql.exe -Uxxx -Pxxx -S $R2\bluezinc -Q $5 RESTORE DATABASE tmBase FROM DISK ='C:\Train.bak' WITH PASSWORD ='xxx', REPLACE, RECOVERY, MOVE 'tmTrain_dat' TO '$R3\Data\tmBase.mdf', MOVE 'tmTrain_log' TO '$R3\Data\tmBaseLog.ldf'$5 -o $4\patches.log"
I hope someone might be able to help or suggest a better alternative,
thanks, chris