I have a problem in using double quotes inside double quotes as follows:--
s1="-r printer:sanjay=\"HP LaserJet 1018\""
Whenever i am using the value of variable s1 inside command as follows:--
rdesktop -u administrator -p admin $s1 ip-address
the command is not executing as expected..
But if i am writing it directly like:--
rdesktop -u administrator -p admin -r printer:sanjay="HP LaserJet 1018"ip-address
its working fyn..
plz help me to getting out of this stuff..