the solution you had suggested works fine , but problem is that i do not want to remove all occurences of '' in the file. i had told you i want the specific statement
source "../xxx.cmd" to be replaces as source ../xxx.cmd. i want only this type of statements not all .