in reply to remove a specific character occuring in file using script

perl -pi -e 's|\"(\.\./version\.cmd)\"|$1|gi' a.txt --C